Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @times-components/button with all npm packages installed. Try it out:

require("react/package.json"); // react is a peer dependency. require("react-dom/package.json"); // react-dom is a peer dependency. require("react-native/package.json"); // react-native is a peer dependency. require("react-native-web/package.json"); // react-native-web is a peer dependency. var button = require("@times-components/button")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@times-components/button v2.4.20

Button component


A simple component that defaults to a common Times-style cross-platform button. If further buttons are required, they can be composed from the default button and have decorated styles as required.


Please read before contributing to this package

Running the code

Please see our main to get the project running locally


The code can be formatted and linted in accordance with the agreed standards.

yarn fmt
yarn lint


This package uses yarn (latest) to run unit tests on each platform with jest.

yarn test:all
yarn test:android
yarn test:ios
yarn test:web

Visit the official storybook to see our available button templates.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free