1.0.7 • Published 2 months ago

@teravn/onui v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

The React UI component library is based on MUI. It overrides all MUI's components and others

Example

import React from "react";
import { Button, ThemeProvider } from "@teravn/onui";

type ThemeMode = "light" | "dark";

const OnUIProvider = ({ children }: React.PropsWithChildren) => {
  const [mode] = React.useState < ThemeMode > "light";

  return <ThemeProvider settings={{ mode }}>{children}</ThemeProvider>;
};

export default OnUIProvider;

Installation

Install the package in your project directory with:

yarn add @teravn/onui

License

The MIT License.