Skip to content

trindadematheus/react-jequiti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-jequiti

🌱 Deixe seu site como o SBT

NPM JavaScript Style Guide

Install

npm install --save react-jequiti
yarn add react-jequiti

Usage

import JequitiContainer from 'react-jequiti'
import 'react-jequiti/dist/index.css'

export default function MyApp() {
    return (
      // ... rest of project
      <JequitiContainer />
    )
}

Props

intervalTime?: number

You can set the interval time in miliseconds. Default is 10000

<GlobalJequiti intervalTime={5000} />

zIndex?: number

You can set the z-index of the overlay. Default is 9999

<GlobalJequiti zIndex={500} />

License

MIT © trindadematheus