Name | Type | Required | Default | Description |
---|---|---|---|---|
icon | ReactNode | false | ||
selected | boolean | false | Set the current value of the toggle button | |
size | false | The toggle button size |
You can add a SVG Icon component as a prop to icon.
Using the icon prop will always place the icon on the left side of the button. Or in the center of the button, if no label appears.
Using the size prop will change the size of the toggle button.
The block boolean sets 100% width on the button. It will fill the width of the parent container.
The icon to display on the left side of the label. This should be an icon from
@procore/core-icons
.10.19.0