Wrapper for the Figma Slice.
Props#
Prop | Type | Default | Note |
---|
name | String | | The name to be displayed in the Figma Layers List |
width | Number | | |
height | Number | | |
style | Style | | Not all props |
Also, most of the SliceNode fields are supported as props.
Example#
<Slice
height={200}
width={200}
/>