1.1.29 • Published 2 years ago
@pongo-ui/react-button v1.1.29
Button
The Button controls allow users to make an action through a press.
Use
- Install the @pongo-ui/react-button component.
Using NPM
npm install @pongo-ui/react-button
Using Yarn
yarn add @pongo-ui/react-button
Install the @pongo-ui/react-provider and our theme tokens from @pongo-ui/react-theme
Set up the provider in your app:
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'
const MyApp = () => {
return (
<Provider theme={webLightTheme}>
<Provider>
)
}
- Integrate the Button component.
import { Provider } from '@pongo-ui/react-provider'
import { webLightTheme } from '@pongo-ui/react-theme'
import { Button } from '@pongo-ui/react-button'
const MyApp = () => {
return (
<Provider theme={webLightTheme}>
<Button>Hello World</Button>
<Provider>
)
}
API
To learn more about the Button API take a look at the Button Interface file.
1.1.29
2 years ago
1.1.28
2 years ago
1.1.9
2 years ago
1.1.8
2 years ago
1.1.12
2 years ago
1.1.11
2 years ago
1.1.10
2 years ago
1.1.16
2 years ago
1.1.15
2 years ago
1.1.14
2 years ago
1.1.13
2 years ago
1.1.19
2 years ago
1.1.18
2 years ago
1.1.17
2 years ago
1.1.23
2 years ago
1.1.22
2 years ago
1.1.21
2 years ago
1.1.20
2 years ago
1.1.27
2 years ago
1.1.26
2 years ago
1.1.25
2 years ago
1.1.24
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago