Ellipse

Wrapper for the Figma Ellipse.

Props

PropTypeDefaultNote
nameStringThe name to be displayed in the Figma Layers List
arcDataArcData
styleStyleNot all props
onSelectionEnterFunctionSelection enter event callback
onSelectionLeaveFunctionSelection leave event callback
onLayoutFunctionEvent is fired once the layout has been calculated

Also, most of the EllipseNode fields are supported as props.

Example

<Ellipse
style={{ width: 200, height: 200, backgroundColor: '#c4c4c4' }}
arcData={{ startingAngle: 0, endingAngle: -Math.PI, innerRadius: 0.5 }}
/>