@glitchdotcom/shared-components

0.18.12 • Public • Published

shared-components

This is a library of React components used on Glitch's community site and editor.

Installation

npm install @glitchdotcom/shared-components

This package has a peer dependency on React 16.8+ ("the one with hooks"); it also includes dependencies on prop-types and styled-components.

Usage

For documentation of available components, see shared-components.glitch.me.

Browser support

This works as-is in evergreen browsers, but it uses features which may require polyfills, transpilation, or other fallbacks:

  • css custom properties (aka "css variables")
  • ES2018 features (e.g. async/await, object spread)
  • <details> and <dialog> HTML elements

In production applications

In production applications, you will likely want to use the following babel plugins:

Contributing

For information on making changes to shared-components, refer to CONTRIBUTING.md

Readme

Keywords

Package Sidebar

Install

npm i @glitchdotcom/shared-components

Weekly Downloads

3

Version

0.18.12

License

MIT

Unpacked Size

379 kB

Total Files

6

Last publish

Collaborators

  • ckolderup
  • cori_fastly
  • jenn
  • keithk