@fluentliteui/button
v0.0.15
Published
install ``` yarn add @fluentliteui/button ```
Downloads
5
Readme
@fluentliteui/button
install
yarn add @fluentliteui/button
usage
import { Button,CloseButton,CompoundButton } from "@fluentliteui/button";
import "@fluentliteui/button/dist/index.css";
function App() {
return <>
<Button variant="default">Default</Button>
<Button onClick={() => { console.log('hello') }}
variant="primary">Primary</Button>
<Button onClick={() => { console.log('hello') }} variant="warning">Warning</Button>
<Button variant="success">Success</Button>
<Button variant="info">Info</Button>
<CloseButton size="large" color="#f00" />
<CompoundButton variant="primary" secondaryText="This is the secondary text">Primary</CompoundButton>
<>
}