@chakra-ui/react
Version:
Responsive and accessible React UI components built with React and Emotion
13 lines (10 loc) • 328 B
JavaScript
;
"use client";
import { createRecipeContext } from '../../styled-system/create-recipe-context.js';
const { withContext, PropsProvider } = createRecipeContext({
key: "text"
});
const Text = withContext("p");
Text.displayName = "Text";
const TextPropsProvider = PropsProvider;
export { Text, TextPropsProvider };