import { type SegmentControlProps } from '@cloud-ru/ds-segment-control'; import { ValueOf, WithSupportProps } from '@cloud-ru/ds-utils'; import { DATA_VIEW_VALUE } from './constants'; export type DataViewValue = ValueOf; type DataViewBaseProps = { value?: DataViewValue; defaultValue?: DataViewValue; onChange?(value: DataViewValue): void; items?: SegmentControlProps['items']; }; export type DataViewProps = WithSupportProps;