How to use @kiwicom/orbit-components - 1 common examples

To help you get started, we’ve selected a few @kiwicom/orbit-components examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zeit / next.js / examples / with-orbit-components / pages / _app.js View on Github external
import * as React from 'react'
import App from 'next/app'
import { getTokens } from '@kiwicom/orbit-components'
import { ThemeProvider, createGlobalStyle } from 'styled-components'

const GlobalStyle = createGlobalStyle`
  body {
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
    background-color: ${({ theme }) => theme.orbit.paletteCloudLight};
  }
`

const tokens = getTokens()

export default class MyApp extends App {
  render() {
    const { Component, pageProps } = this.props
    return (
      
        <>
          
          
        
      
    )
  }
}

@kiwicom/orbit-components

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

MIT
Latest version published 11 days ago

Package Health Score

87 / 100
Full package analysis

Popular @kiwicom/orbit-components functions