0.18.0 • Published 3 years ago

testing-moonstone v0.18.0

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

Moonstone

Install

yarn add @jahia/moonstone

Import global styles into your project

Use the component GlobalStyle add the root of your app to load CSS globals and resets.

Use the design System

import React from 'react'
import logo from './logo.svg'
import './App.css'
import {GlobalStyle, Typography} from 'moonstone'

function App() {
    return (
        <>
            <GlobalStyle/>
            <div className='App'>
                <header className='App-header'>
                    <img src={logo} className='App-logo' alt='logo' />
                    <Typography>
                        Edit <code>src/App.js</code> and save to reload.
                    </Typography>
                    <a
                        className='App-link'
                        href='https://reactjs.org'
                        target='_blank'
                        rel='noopener noreferrer'
                    >
                        Learn React
                    </a>
                </header>
            </div>
        </>
    )
}

export default App

Author

👤 Jahia

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

0.18.0

3 years ago

0.16.2

4 years ago