JSPM

  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q57176F
  • License MIT

The Code component elegantly displays preformatted text, such as JavaScript code, on your webpage while maintaining its original format. With a convenient copy-to-clipboard button and seamless theming, sharing and styling code has never been smoother.

Package Exports

  • @tidy-ui/code
  • @tidy-ui/code/dist/index.esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@tidy-ui/code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Tidy UI

@tidy-ui/code npm (scoped)

Quality Gate Status

Publishing Coverage Vulnerabilities Bugs Security Rating Maintainability Rating Code Smells Lines of Code Technical Debt Reliability Rating Duplicated Lines (%)

Project Description

Tidy UI is a family of components necessary for your react application. The components are powered styled-components, features include css-in-js, theming etc

Build with

  • react
  • styled-components
  • rollup
  • lerna

Installation

yarn add @tidy-ui/code
npm i @tidy-ui/code

Getting started

Here is a sample root level component that should enclose all tidy-ui components

import React from 'react';
import { TidyUiProvider, orchidLight } from '@tidy-ui/commons';
import { ... } from '@tidy-ui/code';

function App() {
  return <TidyUiProvider theme={orchidLight}>...</TidyUiProvider>;
}

export default App;

Include required components with in the place holder ...

Storybook

Visit the storybook and start using components in your app.