Mobile
To implement Mobile component into your project you’ll need to add the import:
import Mobile from "@kiwicom/orbit-components/lib/Mobile";
After adding import into your project you can use it simply like:
<Mobile><Button>Hello World!</Button></Mobile>
Props
Table below contains all types of the props available in the Mobile component.
Name | Type | Description |
---|---|---|
children | React.Node | Children components to show. |