text
Description
Optional. Adds a text for the Two State buttonUsage
text?: string;
Example
<TwoState type={"primary"} text="Click me"/>
Related article: Setting different content for each state
Related sample: Two State Button
text?: string;
<TwoState type={"primary"} text="Click me"/>
Related article: Setting different content for each state
Related sample: Two State Button