UNPKG

@yamada-ui/react

Version:

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

20 lines (16 loc) 786 B
"use client"; const require_create_component = require('../../core/components/create-component.cjs'); const require_heading_style = require('./heading.style.cjs'); //#region src/components/heading/heading.tsx const { PropsContext: HeadingPropsContext, usePropsContext: useHeadingPropsContext, withContext } = require_create_component.createComponent("heading", require_heading_style.headingStyle); /** * `Heading` is a component that represents section headings. By default, it renders an `h1` element. * * @see https://yamada-ui.com/docs/components/heading */ const Heading = withContext("h1")(); //#endregion exports.Heading = Heading; exports.HeadingPropsContext = HeadingPropsContext; exports.useHeadingPropsContext = useHeadingPropsContext; //# sourceMappingURL=heading.cjs.map