Header

Button

Buttons are used to make common actions visible

Usage

import { Button } from '@cleartrip/bento'

Playground

className

string

Additional classes to be added to the component

type

enum

Changes the appearance of the component

size

enum

These values modify the size of the component

disabled

bool

This disables the button

True
False

busy

string

This disables the button and shows a custom text

outline

bool

Changes the appearance to an outline

True
False

full

bool

Makes the button full width

True
False

onClick

func

Handles onclick function