createFigmaClient
createFigmaClient(
credential,authType?):DesignClient
Defined in: api.ts:36
A Figma client bound to a personal access token (or, with authType: "oauth", a user’s OAuth token).
Parameters
Section titled “Parameters”credential
Section titled “credential”string
authType?
Section titled “authType?”"token" | "oauth" = "token"
Returns
Section titled “Returns”DesignClient