@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
1 lines • 674 B
Source Map (JSON)
{"version":3,"file":"PillsInput.context.cjs","names":[],"sources":["../../../src/components/PillsInput/PillsInput.context.ts"],"sourcesContent":["import { createContext } from 'react';\nimport { 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 PillsInputContext = createContext<PillsInputContextValue | null>(null);\n"],"mappings":";;;AAYA,MAAa,qBAAA,oBAAA,eAAiE,KAAK"}