1.0.4 • Published 3 years ago

@atexto/components v1.0.4

Weekly downloads
47
License
-
Repository
-
Last release
3 years ago

Atexto Components

How to use

  • Install @atexto/components
 npm install @atexto/components --save

 yarn add @atexto/components --save
  • Wrap your entire app with <Application/> component

Example with CRA

import React from 'react'
import ReactDOM from 'react-dom'
import { Application } from '@atexto/components'

import App from './App'

const rootElement = document.getElementById('root')
ReactDOM.render(
  <React.StrictMode>
    <Application>
      <App />
    </Application>
  </React.StrictMode>,
  rootElement
)

Application contains the styled-components provider and has the ability to overwrite the base theme.