UNPKG

phoenix-components-library

Version:

Component library for Phoenix Frontend Projects.

33 lines (23 loc) 587 B
# Loader ### Usage ```js import { Loader } from 'phoenix-components-library'; render() { return ( <Loader active={true} centered={false} /> ); } ``` ### Live Example <!-- STORY --> ### Properties - `active` - to Activate loader, and deactivate it when needed - `centered` - To add loader to full width of a parent and centered it | propName | propType | defaultValue | isRequired | | -------- | -------- | ------------ | ---------- | | active | bool | true | | | centered | bool | true | | ### Roadmap