UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

1 lines 1.1 kB
{"version":3,"file":"separator.cjs","names":["createComponent","separatorStyle"],"sources":["../../../../src/components/separator/separator.tsx"],"sourcesContent":["\"use client\"\n\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { SeparatorStyle } from \"./separator.style\"\nimport { createComponent } from \"../../core\"\nimport { separatorStyle } from \"./separator.style\"\n\nexport interface SeparatorProps\n extends HTMLStyledProps<\"hr\">,\n ThemeProps<SeparatorStyle> {}\n\nconst {\n PropsContext: SeparatorPropsContext,\n usePropsContext: useSeparatorPropsContext,\n withContext,\n} = createComponent<SeparatorProps, SeparatorStyle>(\"separator\", separatorStyle)\n\nexport { SeparatorPropsContext, useSeparatorPropsContext }\n\n/**\n * `Separator` is a component that represents a division between elements.\n *\n * @see https://yamada-ui.com/docs/components/separator\n */\nexport const Separator = withContext(\"hr\")()\n"],"mappings":";;;;;;;AAWA,MAAM,EACJ,cAAc,uBACd,iBAAiB,0BACjB,gBACEA,yCAAgD,aAAaC,uCAAe;;;;;;AAShF,MAAa,YAAY,YAAY,KAAK,EAAE"}