UNPKG

@yamada-ui/react

Version:

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

18 lines (14 loc) 569 B
"use client"; import { createComponent } from "../../core/components/create-component.js"; import { emStyle } from "./em.style.js"; //#region src/components/em/em.tsx const { PropsContext: EmPropsContext, usePropsContext: useEmPropsContext, withContext } = createComponent("em", emStyle); /** * `Em` is a component that represents emphasized text. By default, it renders a `em` element. * * @see https://yamada-ui.com/docs/components/em */ const Em = withContext("em")(); //#endregion export { Em, EmPropsContext, useEmPropsContext }; //# sourceMappingURL=em.js.map