UNPKG

@yamada-ui/react

Version:

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

1 lines 995 B
{"version":3,"file":"mark.cjs","names":["createComponent","markStyle"],"sources":["../../../../src/components/mark/mark.tsx"],"sourcesContent":["\"use client\"\n\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { MarkStyle } from \"./mark.style\"\nimport { createComponent } from \"../../core\"\nimport { markStyle } from \"./mark.style\"\n\nexport interface MarkProps\n extends HTMLStyledProps<\"mark\">,\n ThemeProps<MarkStyle> {}\n\nconst {\n PropsContext: MarkPropsContext,\n usePropsContext: useMarkPropsContext,\n withContext,\n} = createComponent<MarkProps, MarkStyle>(\"mark\", markStyle)\n\nexport { MarkPropsContext, useMarkPropsContext }\n\n/**\n * `Mark` is a component that emphasizes a specific part of the text.\n *\n * @see https://yamada-ui.com/docs/components/mark\n */\nexport const Mark = withContext(\"mark\")()\n"],"mappings":";;;;;;;AAWA,MAAM,EACJ,cAAc,kBACd,iBAAiB,qBACjB,gBACEA,yCAAsC,QAAQC,6BAAU;;;;;;AAS5D,MAAa,OAAO,YAAY,OAAO,EAAE"}