@styleless-ui/react
Version:
Completely unstyled, headless and accessible React UI components.
9 lines (8 loc) • 371 B
TypeScript
import * as React from "react";
import { type Props } from "./CheckGroup";
interface ICheckGroupContext {
value: Exclude<Props["value"], undefined>;
onChange: (newCheckedState: boolean, inputValue: string) => void;
}
declare const CheckGroupContext: React.Context<ICheckGroupContext | undefined>;
export { CheckGroupContext as default, type ICheckGroupContext };