UNPKG

shineout

Version:

A components library for React

8 lines (7 loc) 482 B
import { CheckboxGroupProps as UnStyledCheckboxGroupProps } from '@sheinx/base'; import { GetWithFieldProps } from '../hooks/use-field-common'; export type BaseCheckboxGroupProps<DataItem, Value extends any[]> = Omit<UnStyledCheckboxGroupProps<DataItem, Value>, 'jssStyle'>; /** * @title Checkbox.Group */ export type CheckboxGroupProps<DataItem, Value extends any[]> = GetWithFieldProps<BaseCheckboxGroupProps<DataItem, Value>, BaseCheckboxGroupProps<DataItem, Value>['value']>;