@chakra-ui/react
Version:
Responsive and accessible React UI components built with React and Emotion
32 lines (28 loc) • 929 B
JavaScript
"use client";
;
var createSlotRecipeContext = require('../../styled-system/create-slot-recipe-context.cjs');
var icons = require('../icons.cjs');
const {
withProvider,
withContext,
useStyles: useBlockquoteStyles,
PropsProvider
} = createSlotRecipeContext.createSlotRecipeContext({ key: "blockquote" });
const BlockquoteRoot = withProvider(
"figure",
"root"
);
const BlockquotePropsProvider = PropsProvider;
const BlockquoteContent = withContext("blockquote", "content");
const BlockquoteCaption = withContext("figcaption", "caption");
const BlockquoteIcon = withContext(
icons.QuoteIcon,
"icon"
);
exports.BlockquoteCaption = BlockquoteCaption;
exports.BlockquoteContent = BlockquoteContent;
exports.BlockquoteIcon = BlockquoteIcon;
exports.BlockquotePropsProvider = BlockquotePropsProvider;
exports.BlockquoteRoot = BlockquoteRoot;
exports.useBlockquoteStyles = useBlockquoteStyles;
;