fanthon-card
v1.0.8
Published
### Instalação ```sh npm install @corelabbr/fanthon-card-js ```
Downloads
87
Readme
Fanthon Card.js
Instalação
npm install fanthon-card
Import a lib
import FanthonReact from 'fanthon-card/dist';
Coloque o compoe
<FanthonReact
token={process.env.FANTHON_PUBLISHABLE_KEY}
options={{
base: {
primary_color: '#c2f',
},
number: {
showIcon: true
}
}}
onSubmit={onSubmit}
/>
Crie uma variavel de ambiente
FANTHON_PUBLISHABLE_KEY=[SEU_TOKEN]
Para atualizar o Build
npm run build:babel
npm publish