Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1015 Bytes

README.md

File metadata and controls

45 lines (29 loc) · 1015 Bytes

Loader

Code Example

  <Loader loading={some_variable}>
    Some Content
  </Loader>




Props

* indicates required fields

PropName Default Value Type Description
children* - ReactNode It will display whatever is passed in as children in the background. Its display is dependent on renderChildren.
loading* - boolean It will show a loader if loading is true, else it will display the content.
size 50 number It sets the height and width of the loader
renderChildren true boolean If true, it will show children while loading. Otherwise it will hide children while loading. In any case if loading is false, it will display children
message '' string Shows this message when loading




Images

Loading

Loading

Loading with message

Loading with Message