UNPKG

@gluestack-ui/core

Version:

Universal UI components for React Native, Expo, and Next.js

21 lines 787 B
import React from 'react'; export type ICheckboxContext = Omit<ReturnType<typeof useCheckboxProvider>, 'htmlProps'>; export declare const CheckboxContext: React.Context<{}>; export declare function useCheckboxProvider(props: any): { isRequired: boolean; isInvalid: boolean; isReadOnly: boolean; isDisabled: boolean; hasFeedbackText: boolean; setHasFeedbackText: React.Dispatch<React.SetStateAction<boolean>>; hasHelpText: boolean; setHasHelpText: React.Dispatch<React.SetStateAction<boolean>>; id: any; labelId: string; feedbackId: string; helpTextId: string; htmlProps: any; }; export declare function useCheckbox(props: any): any; export declare const useCheckboxContext: () => ICheckboxContext; //# sourceMappingURL=context.d.ts.map