broadsheet
v0.0.1
Published
A collection of presentational components for The Times and Sunday Times
Downloads
2
Readme
The Times Component Library
Purpose
Home of The Times' react
/react native
components, using
react-native-web to share across platforms
Dev Environment
We require MacOS with Node.js (version >=8 with npm v5), yarn (latest) and watchman installed. Native development requires Xcode and Android Studio.
You can try without these requirements, but you'd be on your own.
Getting Started
- Run
yarn
to install dependencies - components can be seen running in a storybook:
- web storybook
yarn storybook
- go to http://localhost:9001
- native storybook
yarn storybook-native
and leave it runningyarn ios
and/oryarn android
to start the (sim|em)ulators- go to http://localhost:7007
⚠️ Native Storybook ⚠️
In order to view the storybook on native, you'll need to fix a broken font which requires fontforge
brew install fontforge
When you first get a local copy of the fonts you may see some warnings which you can ignore
Contributing
See the CONTRIBUTING.md for an extensive breakdown of the project