@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
1 lines • 1.04 kB
Source Map (JSON)
{"version":3,"file":"PillsInput.context.mjs","sources":["../../../src/components/PillsInput/PillsInput.context.ts"],"sourcesContent":["import { createOptionalContext, MantineSize } from '../../core';\nimport { InputVariant } from '../Input';\n\nexport interface PillsInputContextValue {\n fieldRef: React.RefObject<HTMLInputElement | null>;\n size: MantineSize | (string & {});\n disabled: boolean | undefined;\n hasError: boolean | undefined;\n variant: InputVariant | (string & {}) | undefined;\n}\n\nexport const [PillsInputProvider, usePillsInputContext] =\n createOptionalContext<PillsInputContextValue>();\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAWO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAoB,CAAoB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GACpD,CAA8C,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;;"}