Page

Wrapper for Figma Pages. Figma document (figma.root) should be a parent.

Props

PropTypeDefaultNote
nameStringThe name to be displayed in the Figma Layers List
childrenNode
styleStyleOnly layout props
isCurrentBooleanMake page current
onCurrentChangeFunctionChanging current page callback
onLayoutFunctionEvent is fired once the layout has been calculated

Example

<Page isCurrent name="My Page" style={{flexDirection: "row"}}>
<Text>Hello world!</Text>
</Page>