GithubHelp home page GithubHelp logo

dracor-org / dracor-react Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 1.47 MB

DraCor React Component Library

License: MIT License

TypeScript 80.81% JavaScript 16.67% MDX 0.74% CSS 1.28% Shell 0.49%

dracor-react's Introduction

dracor-react

The DraCor React Component Library provides reusable react components for various DraCor and related projects.

The components are documented in storybook.

Installation

First add the DraCor React components to your react project:

npm i @dracor/react
# or
yarn add @dracor/react

Then adjust your tailwind.config.js to make the DraCor styles available to your project:

// tailwind.config.js
module.exports = {
  // make the library available to the tailwind compiler
  content: [
    './node_modules/@dracor/react/**/*.js',
    './src/**/*.{js,jsx,ts,tsx}',
  ],
  plugins: [
    // main DraCor Tailwindcss customization
    require('@dracor/react/tailwind'),
    // support CETEIcean markup in the TEIText component
    require('@dracor/react/ceteicean'),
  ],

  // ... your customisations
};

Publication

To release a new version to npmjs.com you need to be a member of the dracor organization.

yarn release

License

The components and documentation of this project are released under the MIT License.

dracor-react's People

Contributors

cmil avatar

Stargazers

Mark Schwindt avatar

Watchers

 avatar Frank Fischer avatar Peer Trilcke avatar

Forkers

cmil

dracor-react's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.