get https://api.zeplin.dev/v1/projects//components/
Get a project component by id
Log in to see full request history
Returns Component
Responses
Get a project component by id
Returns Component
xxxxxxxxxx
18import {
ZeplinApi,
Configuration
} from "@zeplin/sdk";
​
const zeplin = new ZeplinApi(
new Configuration({
accessToken: "YOUR_ACCESS_TOKEN"
})
);
​
const {
data
} = await zeplin.components.getProjectComponent(
"PROJECT_ID",
"COMPONENT_ID",
searchParams
);
Try It!
to start a request and see the response here! Or choose an example: