top of page

<Button/>

code exemple.

import { Button }from 'hs-uilib'

​

function App() {
  return <Button title="Press Me" backgroundColor="#219ebc" onClick={() => ()} />
}

​

Component.

Props.

Name
Type
Default
Description
onClick
func
backgroundColor
string
#219ebc
Backgorund color.
title
string
The content of the button.
bottom of page