import type {
HTMLChakraProps,
RecipeVariantProps,
UnstyledProp,
} from "@chakra-ui/react"
import { createRecipeContext, defineRecipe } from "@chakra-ui/react"
const buttonRecipe = defineRecipe({
className: "button",
base: {
padding: "10px",
borderRadius: "4px",
backgroundColor: "red",
color: "white",
},
variants: {
bold: {
true: {
fontWeight: "bold",
},
},
},
})
const { withContext } = createRecipeContext({
recipe: buttonRecipe,
})
interface ButtonProps
extends HTMLChakraProps<"button", RecipeVariantProps>,
UnstyledProp {}
const Button = withContext("button")
export const SystemInlineRecipe = () => {
return
}