UNPKG

@react-beauty/ui-segment

Version:

ui-segment

9 lines (8 loc) 432 B
import { HTMLAttributes, ReactNode } from 'react'; import { SegmentValue } from './use-segment'; export interface SegmentContainerProps extends HTMLAttributes<HTMLDivElement> { children: ReactNode; value: SegmentValue; onValueChange: (value: SegmentValue) => void; } export declare const SegmentContainer: import('react').ForwardRefExoticComponent<SegmentContainerProps & import('react').RefAttributes<HTMLDivElement>>;