Pedro v2 is a design system built for Peduarte using Modulz
Using this package
Step 1: Install Pedro v2 from npm
Install @peduarte/pedro-test-2 using your package manager:
yarn add @peduarte/pedro-test-2
Step 2: Import & use your components
Your components are ready to use! All components are imported directory from @peduarte/pedro-test-2:
import { Card, Input, Box, Container } from '@peduarte/pedro-test-2';
PedroV2Provider
Step 3: Wrap your app in To access the default theme, you must import and wrap your app with the PedroV2Provider
:
import { PedroV2Provider } from '@peduarte/pedro-test-2';
const App = () => <PedroV2Provider>Hey there👋</PedroV2Provider>;