Loading

Loading

import Loading from "@kiwicom/orbit-components/lib/Loading";
<Loading />

Props

NameTypeDefaultDescription
childrenReact.NodeThe content that is shown when loading is not true.
dataTeststringOptional prop for testing purposes.
idstringSet id for Loading.
loadingbooleanfalseIf true, the Loading will be displayed. Loading which doesn’t have a children is always shown, even if loading prop is set to false.
typeenumThe type of the Loading.
textTranslationText to be displayed below the loader image.
customSizenumberAllows you to define custom size for circle loader.
asComponentstring \| React.ElementdivThe component used for the root node.
titlestringOptional prop for loader image title. This title is not visible, but announced by a screen reader. See Accessibility tab.

enum

type
"buttonLoader"
"searchLoader"
"boxLoader"
"pageLoader"
"inlineLoader"