UNPKG

@yamada-ui/input

Version:

Yamada UI input component

1 lines 725 B
{"version":3,"sources":["../src/input-context.tsx"],"sourcesContent":["import type { CSSUIObject } from \"@yamada-ui/core\"\nimport { createContext } from \"@yamada-ui/utils\"\n\ninterface InputGroupContext {\n fieldFontSize: string | undefined\n fieldHeight: string | undefined\n styles: { [key: string]: CSSUIObject | undefined }\n}\n\nexport const [InputGroupProvider, useInputGroup] =\n createContext<InputGroupContext>({\n name: \"InputGroupContext\",\n errorMessage: `useInputGroup returned is 'undefined'. Seems you forgot to wrap the components in \"<InputGroup />\" `,\n })\n"],"mappings":";;;AACA,SAAS,qBAAqB;AAQvB,IAAM,CAAC,oBAAoB,aAAa,IAC7C,cAAiC;AAAA,EAC/B,MAAM;AAAA,EACN,cAAc;AAChB,CAAC;","names":[]}