Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

wikipedia-react-components

1.8.3 • Public • Published

wikipedia-react-components is a node package for developers who are building things for Wikipedia in React rather than oojs-ui.

It contains basic building blocks that you can use to build Wikipedia-like experiences.

A demo hosted by netlify is provided.

It strives to mimic the oojs ui style guide as well as the components the Wikipedia mobile site uses. If you see anything inconsistent or missing between these two, your patches are gratefully accepted!

Contributing

  • Components should be defined in the components/ folder.
  • Each component contains a story.jsx that explains how it can be used. Please take care to document it, and run npm run storybook to check it shows up as expected.
  • Make sure the component is imported and exported in components/index.js
  • Run npm test (and/or npm run lint:fix)
  • Submit your patch!

That's it!

Releasing

@jdlrobson will release new versions on wikipedia-react-components when significant changes have been made and are needed.

Keywords

none

install

npm i wikipedia-react-components

Downloadsweekly downloads

104

version

1.8.3

license

GPL-2.0+

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability