@takeout/ui

Common UI for Takeout

Usage no npm install needed!

<script type="module">
  import takeoutUi from 'https://cdn.skypack.dev/@takeout/ui';
</script>

README

Takeout UI

Common UI for Takeout

Installation

yarn add @takeout/ui

Usage

Config

import { config } from '@takeout/ui'

Utils

import { utils } from '@takeout/ui'

Bootstraping and styles

@import '~@takeout/ui/build/index.css';

@import '~@takeout/ui/build/scss/variables';
@import '~@takeout/ui/build/scss/functions';
@import '~@takeout/ui/build/scss/mixins';

Components

import { Button } from '@takeout/ui'

Proptypes

import { propTypes } from '@takeout/ui'

Fixtures

import { fixtures } from '@takeout/ui'

Components

Publish package to NPM

Update version in package.json

{
  "version": "1.0.1"
}

Build the package

yarn build

Deploy to NPM registery

npm publish