Skip to content

react-common 0.1.0

Install from the command line:
Learn more about npm packages
$ npm install @codevachon/react-common@0.1.0
Install via package.json:
"@codevachon/react-common": "0.1.0"

About this version

@codevachon/react-common

A Library of Common Read Components

Install

pnpm add @codevachon/react-common @codevachon/classnames @codevachon/utilities
yarn add @codevachon/react-common @codevachon/classnames @codevachon/utilities
npm install @codevachon/react-common @codevachon/classnames @codevachon/utilities

Usage

Pull in the Style Sheet and add the required values to the tailwind.config.js file.

// src/pages/_app.tsx
import "@codevachon/react-common/style.css";
import "./../styles/global.css";

export default function MyApp({ Component, pageProps }) {
    return <Component {...pageProps} />;
}
// tailwind.config.js
module.exports = {
    content: ["./src/**/*.{ts,js,tsx,jsx}"],
    theme: {
        extend: {
            colors: {
                primary: "rgb(var(--color-primary) / <alpha-value>)",
                secondary: "rgb(var(--color-secondary) / <alpha-value>)",
                tertiary: "rgb(var(--color-tertiary) / <alpha-value>)",
                danger: "rgb(var(--color-danger) / <alpha-value>)",
                success: "rgb(var(--color-success) / <alpha-value>)"
            }
        }
    },
    plugins: []
};

Details


Assets

  • react-common-0.1.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0