webcoreui
Version:
UI component and template library for Astro, Svelte, and React apps styled with Sass.
13 lines (11 loc) • 387 B
text/typescript
import type { ButtonProps } from '../Button/button'
import type { IconProps } from '../Icon/icon'
export type CounterProps<T extends object = object> = {
type?: 'compact' | 'buttons' | 'separated'
theme?: ButtonProps['theme']
rounded?: boolean
minIcon?: IconProps['type'] | string
maxIcon?: IconProps['type'] | string
width?: string
className?: string
} & T