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.

Readme

Keywords

none

Package Sidebar

Install

npm i wikipedia-react-components

Weekly Downloads

57

Version

1.8.3

License

GPL-2.0+

Unpacked Size

2.43 MB

Total Files

102

Last publish

Collaborators

  • jdlrobson