UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

10 lines (9 loc) 413 B
import { MantineSize } from '../../core'; interface SwitchGroupContextValue { value: string[]; onChange: (event: React.ChangeEvent<HTMLInputElement>) => void; size: MantineSize | (string & {}) | undefined; } export declare const SwitchGroupProvider: import("react").Provider<SwitchGroupContextValue | null>; export declare const useSwitchGroupContext: () => SwitchGroupContextValue | null; export {};