@27works/ui-components

0.1.0 • Public • Published

27Works UI Components

npm version

Install

npm install @27works/ui-components
yarn add @27works/ui-components

Components

Carousel

import React from 'react'
import { Carousel, Slide } from '@27works/ui-components'

const App = () => {
  return (
    <Carousel>
      <Slide>
        <div>
          <h1>Slide 1</h1>
        </div>
      </Slide>
      <Slide>
        <div>
          <h1>Slide 2</h1>
        </div>
      </Slide>
    </Carousel>
  )
}

export default App

Development

yarn install
yarn storybook

Testing within a project

To test the UI components in a project without having to publish a new version, use yarn link:

cd ui-components
yarn link

cd ../my-project
yarn link @27works/ui-components

Readme

Keywords

none

Package Sidebar

Install

npm i @27works/ui-components

Weekly Downloads

2

Version

0.1.0

License

ISC

Unpacked Size

46.2 kB

Total Files

33

Last publish

Collaborators

  • woogz
  • jimlambie