0.5.2 • Published 3 years ago

@retriever-ui/core v0.5.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

lerna styled with emotion NPM

This monorepo contains my registry packages using

  • Lerna
  • Emotion
  • Framer-Motion
  • Jest
  • Next.js
  • Typescript

Install

yarn add @retriever-ui/react

Usage

// app.tsx
import React from 'react'
import { ThemeProvider } from '@retriever-ui/react'

const App = () => {
  return <ThemeProvider>// your code</ThemeProvider>
}

export default App

setting our theme in your project

// styles/styled.d.ts
import '@emotion/react'
import { IthemeCustom } from '@retriever-ui/react'

declare module 'styled-components' {
  export interface DefaultTheme extends IthemeCustom {}
}

Local Storybook

This will open a storybook dev server on http://localhost:6006

$ yarn storybook # this will open storybook

Run Doc

This will open a storybook dev server on http://localhost:4002

$ yarn web:dev # this will open site powered by next.js

Build

This will output the modules to the lib folder

$ yarn build
0.5.2

3 years ago

0.5.0

3 years ago

0.5.1

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago