Package Exports
- @ticketmaster/aurora
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 (@ticketmaster/aurora) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@ticketmaster/aurora
Shared UI Library for TicketmasterHow to get started
Aurora relies on the react, prop-types, and styled-components peer-dependency packages to already be installed and set up in your project.
Install Aurora from the npm registry by running the following command in your terminal:
npm install @ticketmaster/aurora
Then import each component you want to use in your app:
import React from "react";
import ReactDOM from "react-dom";
import { Button } from "@ticketmaster/aurora";
ReactDOM.render(
<Button variant="standard">Hello, world!</Button>,
document.getElementById("root")
);
Running the catalog locally
In order to run the catalog locally, complete the following steps:
- Execute
yarn install
at this directory's root - Execute
yarn catalog-start
at this directory's root - 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/aurora/
Other docs
LICENSE
MIT