@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
1 lines • 968 B
Source Map (JSON)
{"version":3,"file":"em.cjs","names":["createComponent","emStyle"],"sources":["../../../../src/components/em/em.tsx"],"sourcesContent":["\"use client\"\n\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { EmStyle } from \"./em.style\"\nimport { createComponent } from \"../../core\"\nimport { emStyle } from \"./em.style\"\n\nexport interface EmProps extends HTMLStyledProps<\"em\">, ThemeProps<EmStyle> {}\n\nconst {\n PropsContext: EmPropsContext,\n usePropsContext: useEmPropsContext,\n withContext,\n} = createComponent<EmProps, EmStyle>(\"em\", emStyle)\n\nexport { EmPropsContext, useEmPropsContext }\n\n/**\n * `Em` is a component that represents emphasized text. By default, it renders a `em` element.\n *\n * @see https://yamada-ui.com/docs/components/em\n */\nexport const Em = withContext(\"em\")()\n"],"mappings":";;;;;;;AASA,MAAM,EACJ,cAAc,gBACd,iBAAiB,mBACjB,gBACEA,yCAAkC,MAAMC,yBAAQ;;;;;;AASpD,MAAa,KAAK,YAAY,KAAK,EAAE"}