Loader
Props
Name | Type | Description |
---|---|---|
children | React.ReactNode | Pass child elements if you want to cover them with a loader |
isGlobal | boolean | Global mode |
isLoading | boolean | Make it work |
onClick | ... | Click handler |
theme | ... | Theme |
_[className] | [x: string]: unknown | E.g.: _w-48 adds a css class w-48 to the component's outer wrapper. |
() => (<> <L.Loader isLoading _w-48 /> <L.Loader> hi there </L.Loader> </> );
Customization props
Name | Type | |
---|---|---|
iconRender | CustomRender<LoaderProps, {}, {}> | ... |