npm i @anephenix/ui
To use the library in your codebase, you will want to setup your pages/_app.js file like this:
import App from 'next/app';
import React from 'react';
import Head from 'next/head';
import { Page } from '@anephenix/ui';
// Style dependencies
import '@anephenix/ui/index.css';
class MyApp extends App {
render() {
const { Component, pageProps } = this.props;
return (
<>
<Head />
<Page>
<Component {...pageProps} />
</Page>
</>
);
}
}
export default MyApp;