Skip to content

BaseLoader

Minimal loader component to be reused in other components

Props

Prop nameDescriptionTypeValuesDefault
loaderColordefine a color for the loaderstring-''
positionadd positional properties like for a style objectobject-{}
hideset this to true if you want to keep element (with height and width) but dont
want the loader to show
boolean-false
textOnLoaderShowdefine a text that should be read as soon as loader appearsstring-'loading'

Demo