0.0.3 • Published 2 years ago

@looma/core v0.0.3

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

Looma Core

Looma core is a React component library containing a set of core components.

Installation

Run the following command using pnpm:

pnpm add @looma/core

Using with Next.js

  1. Import the CSS directly into your project;

Go to pages/_app.js (or create this file if it doesn't exist yet) and add the CSS import:

import '@looma/core/dist/style.css';

function MyApp({ Component, pageProps }) {
  return <Component {...pageProps} />
}

export default MyApp
  1. You can then immport and use Looma core components;
import { Button } from '@looma/core';

export default function Index() {
  return (
    <Button variant="primary">Primary</Button>
  )
}
0.0.3

2 years ago

0.0.2

2 years ago

0.0.2-alpha1

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago