loadingswitch

1.0.7 • Public • Published

Installation

npm i loadingswitch

Usage

import { LoadSwitch } from 'loadingswitch';

<LoadSwitch onPress={() => YourFunction()} status={true} />

Props

Prop Required Type Default Return Type
status Yes Boolean False None
onPress() Yes Method None Boolean
toggleOnColor No String White None
toggleOffColor No String Blue None
switchOnColor No String Blue None
switchOffColor No String White None
switchBorderColor No String Black None
shape No Box/Circle Circle None

Contribution

For major changes, please open an issue first to discuss what you would like to change.

Readme

Keywords

none

Package Sidebar

Install

npm i loadingswitch

Weekly Downloads

4

Version

1.0.7

License

ISC

Unpacked Size

7.63 kB

Total Files

3

Last publish

Collaborators

  • harmandeep_mand