5.1.16 • Published 10 months ago

@stjudecloud/ui-react v5.1.16

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
10 months ago

Quick Start

Use the following commands to get started quickly.

# Clone the repository and cd to packages/react
git clone https://github.com/stjudecloud/theme.git
cd theme/packages/react

# Install dependencies
npm install

# Build the library as ESM and CommonJS
npm run build

# Run a storybook instance to interactively develop components
npm run storybook

Versioning

This repository matches Bootstrap's two major version numbers. If this repository's version is v4.3.123, then it depends on Bootstrap v4.3.x.

Using this package

First, add the library to your package.json:

npm add @stjudecloud/theme-react

Next, use any of the components provided by the library in your own designs.

  import {Navbar} from '@stjudecloud/ui-react';

  function MyComponent() {
    return (
      <div>
        <Navbar {...props} />
        Cool content
      </div>
    );
  }

PLEASE NOTE: Your build process will need to be able to handle importing image files, e.g. with webpack + file-loader.

Optional Dependencies (react-router-dom)

Originally, react-router-dom was listed as an optional dependency. However, it turns out that NPM does not actually skip optional dependencies. For this reason. it is declared as a peer dependency, but is correctly handled if the dependency is missing.

Copyright

© 2021-Present St. Jude Children's Research Hospital.

5.1.16

10 months ago

5.1.15

10 months ago

5.1.14

1 year ago

5.1.13

1 year ago

5.1.12

1 year ago

5.1.11

1 year ago

5.1.10

1 year ago

5.1.9

1 year ago

5.1.8

1 year ago

5.1.5

2 years ago

5.1.7

2 years ago

5.1.6

2 years ago

5.1.4

2 years ago

5.1.3

3 years ago

5.1.2

3 years ago

5.1.1

3 years ago

4.3.22-rc.0

3 years ago