viralib
v1.0.3
Published
css stylesheet
Downloads
260
Readme
Install Package
npm install viralib
Import package
import { VRAButton } from 'viralib';
Default Button
<VRAButton />
Icon Button
<VRAButton color="red" iconStart={<Delete />} />
Icon With Label
<VRAButton color="red" label="OK" iconEnd={<Delete />} />
Usages
Type
button | submit
<VRAButton type="button" />
as
link | outline | solid
<VRAButton as="solid" />
color
red | pink | purple | indigo | blue | teal | green | yellow | orange | brown | gray | white | black
<VRAButton color="blue" />
Disabled
true | false
<VRAButton disabled={true} />
size
xxs | xs | x(default) | xl | xxl
<VRAButton size="xs" />
style
Add style as per css guidelines
<VRAButton style={{}} />