Skip to content

ticketmaster/aurora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a2a5a59 · Jun 29, 2018
Apr 25, 2018
Jun 14, 2018
Jun 14, 2018
Apr 25, 2018
Jun 29, 2018
Apr 25, 2018
Apr 26, 2018
May 31, 2018
Jun 4, 2018
Apr 26, 2018
Apr 25, 2018
May 5, 2018
May 5, 2018
Apr 25, 2018
Apr 25, 2018
Apr 25, 2018
Jun 4, 2018
Jun 28, 2018

Repository files navigation

@ticketmaster/prism

Shared UI Library for Ticketmaster

Build Status Code Coverage Greenkeeper badge version

MIT License PRs Welcome Code of Conduct

size gzip size module formats: cjs

How to get started

Prism relies on the react, prop-types, and styled-components peer-dependency packages to already be installed and set up in your project.

Install prism from the npm registry by running the following command in your terminal:

npm install @ticketmaster/prism

Then import each component you want to use in your app:

import React from "react";
import ReactDOM from "react-dom";
import { Button } from "@ticketmaster/prism";

ReactDOM.render(
  <Button variant="standard">Hello, world!</Button>,
  document.getElementById("root")
);

Edit mq3q2prnjy

Running the catalog locally

In order to run the catalog locally, complete the following steps:

  1. Execute yarn install at this directory's root
  2. Execute yarn catalog-start at this directory's root
  3. Navigate to http://localhost:4000/ or your host alias's port 4000.

How to use

A documentation of each component and living styleguide is available at https://code.ticketmaster.com/prism/

Other docs

LICENSE

MIT