Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame contribute delete
649 Bytes
{
"type": "composition",
"npmDependencies": [],
"fileDependencies": [],
"id": "link-button",
"file": {
"name": "link-button.tsx",
"content": "\"use client\"\n\nimport type { HTMLChakraProps, RecipeProps } from \"@chakra-ui/react\"\nimport { createRecipeContext } from \"@chakra-ui/react\"\n\nexport interface LinkButtonProps\n extends HTMLChakraProps<\"a\", RecipeProps<\"button\">> {}\n\nconst { withContext } = createRecipeContext({ key: \"button\" })\n\n// Replace \"a\" with your framework's link component\nexport const LinkButton = withContext<HTMLAnchorElement, LinkButtonProps>(\"a\")\n"
},
"component": "LinkButton"
}