SnapProps Interface

Beta  

Properties of Snap component.

Extends

Methods

Name Description
onClick(): void Optional Function called when the Snap component is clicked.  

Properties

Name Type Description
children undefined | string Label of snap row.  
icon undefined | ReactNode Snap row icon.  
isActive undefined | boolean Describes if the snap row is active.  

Inherited properties

Name Type Inherited from Description
className undefined | string CommonProps Custom CSS class name
style undefined | CSSProperties CommonProps Custom CSS style properties

Defined in

Last Updated: 29 November, 2022