TileGroup

TileGroup

import TileGroup from "@kiwicom/orbit-components/lib/TileGroup";
import Tile from "@kiwicom/orbit-components/lib/Tile";
<TileGroup>
<Tile title="Title" />
<Tile title="Title" />
</TileGroup>

Props

NameTypeDefaultDescription
asstring"div"The element used for the root node.
dataTeststringOptional prop for testing purposes.
idstringSet id for TileGroup
childrenReact.NodeContent of the TileGroup - normally the Tile component. See functional specs

Functional specs

  • You can use the React.Node in many different ways, but please mind that you can’t use any additional DOM elements. Otherwise, the styling will be broken.