Skip to main content

Spinner

Spinner is part of the @flexnative/icons package. To use the FlexNative Spinner you needs to install @flexnative/icons package. Fallow this link on how to install the package.

You can use any of paskage's icon as apinner.

API

import { Spinner } from '@flexnative/icons';

Component

Spinner

Type: React.MemoExoticComponent<(props: IconProps) => React.JSX.Element>

Properties

info

and Spinner components expects props of type IconProp.

Usecase Examples

The following example demonstrates the Spinner in action.

warning

Animation it is not working here in documentation. To view animation please view the demo app.

Colors

Sizes

Styling with StyleSheet

Any Icon

Playground

Live Editor
//Play with props to see live changes;

render(<Spinner name='star' size={128} color='secondary' />);
Result
Loading...