UNPKG

@chakra-ui/react

Version:

Responsive and accessible React UI components built with React and Emotion

13 lines (10 loc) 350 B
"use strict"; "use client"; import { createRecipeContext } from '../../styled-system/create-recipe-context.js'; const { withContext, PropsProvider } = createRecipeContext({ key: "heading" }); const Heading = withContext("h2"); Heading.displayName = "Heading"; const HeadingPropsProvider = PropsProvider; export { Heading, HeadingPropsProvider };