@app/corecomponentsButton

Button

import { Button } from '@app/components/Button'
Name
Description
Preview
type
enum
text
string
size
enum
href
string
iconLeft
Name of an icon registered in the icon registry
enum
iconRight
Name of an icon registered in the icon registry
enum
disabled
boolean
fullWidth
boolean
className
string
textClassName
string
iconSize
number
hitSlop
number
target
enum
replace
boolean
push
boolean

Location

You can find the source of the Button component in the following location:

        • Button.tsx

Disclaimer - Automatic Docgen

🤖

These dynamic component docs were auto-generated with npm run regenerate-docs. You can hook into automatic docgen by exporting getDocumentationProps from a component file. You’ll want to provide example props from the ComponentProps zod schema, e.g:

Button.tsx
/* --- Docs ---------------------- */
 
export const getDocumentationProps = ButtonProps.documentationProps('Button')