@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) • 574 B
JavaScript
"use client";
import { createComponent } from "../../core/components/create-component.js";
import { markStyle } from "./mark.style.js";
//#region src/components/mark/mark.tsx
const { PropsContext: MarkPropsContext, usePropsContext: useMarkPropsContext, withContext } = createComponent("mark", markStyle);
/**
* `Mark` is a component that emphasizes a specific part of the text.
*
* @see https://yamada-ui.com/docs/components/mark
*/
const Mark = withContext("mark")();
//#endregion
export { Mark, MarkPropsContext, useMarkPropsContext };
//# sourceMappingURL=mark.js.map