🚀 DAY 1 OF LAUNCH WEEK: Reachability for Ruby Now in Beta.Learn more →
Socket
Book a DemoInstallSign in
Socket

@sapo-ui/core

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sapo-ui/core

Conjunto de todos os componentes

latest
Source
npmnpm
Version
0.5.1
Version published
Maintainers
1
Created
Source

Retriever logo

lerna styled with emotion NPM

This monorepo contains my registry packages using

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

Install

yarn add @sapo-ui/react

Usage

// app.tsx
import React from 'react'
import { ThemeProvider } from '@sapo-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 '@sapo-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

Keywords

React Component

FAQs

Package last updated on 27 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts