cosmo-ui
Version:
Common React components
17 lines (14 loc) • 370 B
text/typescript
import { IconProps } from './icon'
import { StylableComponent } from '.'
export interface ActionBoxProps extends StylableComponent {
actions: Action[]
hidden?: boolean
}
export interface Action extends StylableComponent {
icon: string
iconProps?: IconProps,
tooltip?: string
onClick: () => any
disabled?: boolean
strokeIcon?: boolean
}