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