rayine-ui/docs/content/2.components/button.md
2024-11-20 04:23:15 +08:00

387 B

description
Create a button component with different variants and colors

Usage

Default button style

::ComponentPreview Button ::

Variants

::ComponentPreview

props: variant: soft

Button ::

Colors

::ComponentPreview

props: color: violet

Button ::

export default () => {
  console.log('Code block')
}