({
className,
side = 'left',
size = ButtonSize.Small,
icon = <MenuIcon />,
...props
}: OptionsButtonProps)
| 11 | Pick<TooltipContentProps, 'side'>; |
| 12 | |
| 13 | const OptionsButton = ({ |
| 14 | className, |
| 15 | side = 'left', |
| 16 | size = ButtonSize.Small, |
| 17 | icon = <MenuIcon />, |
| 18 | ...props |
| 19 | }: OptionsButtonProps): ReactElement => ( |
| 20 | <Tooltip side={side} content="Options"> |
| 21 | <Button |
| 22 | variant={ButtonVariant.Tertiary} |
| 23 | {...props} |
| 24 | className={classNames('my-auto', className)} |
| 25 | icon={icon} |
| 26 | size={size} |
| 27 | /> |
| 28 | </Tooltip> |
| 29 | ); |
| 30 | |
| 31 | export default OptionsButton; |
nothing calls this directly
no outgoing calls
no test coverage detected