Enables users to control the visibility of other UI elements.
Basic usage
First, import the component.
import {IconButton} from '@pleo-io/telescope'
Then use it like so:
API reference
The component accepts the following props.
| Prop | Type | Default |
|---|---|---|
Icon* | React.ComponentType | |
size | enum | medium |
skeleton | boolean | false |
tooltipProps* | enum | |
variant* | enum |