Skip to content

Geetork/geetork-lib

Repository files navigation

React UI Button component

Go to playground to see all available properties for the button component.

Install

npm i geetork-lib

Import example

import { Button } from geetork-lib

Custom properties

Propery Values
type 'solid' | 'outline' | 'soft' | 'ghost'
size 'smaill' | 'medium' | 'large'
style 'primary' | 'secondary' | 'danger'
iconType 'none' | 'leading' | 'trailing' | 'leadingTrailer' | 'standalone'
disabled true | false
onClick () => void

Component supports both dark and light themes.