Repository URL to install this package:
|
Version:
0.14.1 ▾
|
import { ReactNode } from 'react'
interface ClickHandler {
(event: Event): void
}
interface RenderProp {
(props: PlusMinusProps): ReactNode
}
interface RenderWrapper {
(props: PlusMinusProps, attributes?: VectorProps, icon?: ReactNode): ReactNode
}
interface VectorProps {
className?: string
isDisabled: boolean
onClick?: ClickHandler
}
interface PlusMinusProps extends VectorProps {
type: string
nowrap?: boolean
renderIconView: RenderProp
renderWrapper: RenderWrapper
}
export { VectorProps, PlusMinusProps }