Inline

Inline

import Inline from "@kiwicom/orbit-components/lib/Inline";
<Inline>Hello World!</Inline>

Props

NameTypeDefaultDescription
asstring"div"Render as element.
classNamestring"div"Optional className of component.
childrenReact.NodeThe children of the Inline.
dataTeststringOptional prop for testing purposes.
spacingspacingTokenThe spacing between children elements of the Inline
alignenumThe align-items of the Inline
justifyenumThe justify-content of the Inline
largeDesktopMediaQueriesObject for setting up properties for the largeDesktop viewport.
desktopMediaQueriesObject for setting up properties for the desktop viewport.
tabletMediaQueriesObject for setting up properties for the tablet viewport.
largeMobileMediaQueriesObject for setting up properties for the largeMobile viewport.
mediumMobileMediaQueriesObject for setting up properties for the mediumMobile viewport.

Media Queries

NameTypeDefaultDescription
spacingspacingTokenThe spacing between children elements of the Inline
alignenumThe align-items of the Inline
justifyenumThe justify-content of the Inline

enum

justifyalign
"start""start"
"end""end"
"center""center"
"between"
"around"

spacingToken

spacingToken
"none"
"XXXSmall"
"XXSmall"
"XSmall"
"small"
"medium"
"large"
"XLarge"
"XXLarge"
"XXXLarge"