react-native-bpk-component-spinner
Backpack React Native spinner component.
Installation
npm install react-native-bpk-component-spinner --save-dev
Usage
;;;; const styles = StyleSheet; { return <View style=stylescontainer> <BpkSpinner /> <BpkSpinner small /> <BpkSpinner type="light" /> <BpkSpinner type="dark" /> </View > ; }
Props
Property | PropType | Required | Default Value |
---|---|---|---|
small | bool | false | false |
theme | See Theme Props below | false | null |
type | oneOf('primary', 'light', 'dark') | false | primary |
Theme Props
Primary
spinnerPrimaryColor