UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

1 lines 629 B
{"version":3,"file":"Input.context.mjs","sources":["../../../src/components/Input/Input.context.ts"],"sourcesContent":["import { createOptionalContext, MantineSize } from '../../core';\n\ninterface InputContext {\n size: MantineSize | (string & {});\n}\n\nexport const [InputContext, useInputContext] = createOptionalContext<InputContext>({\n size: 'sm',\n});\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAMO,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,eAAe,CAAA,CAAA,CAAA,CAAI,qBAAoC,CAAA,CAAA;AAAA,CAAA,CACjF,IAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACR,CAAC,CAAA,CAAA;;"}