harmonium
harmonium copied to clipboard
Make `Pagination` component doc page examples be less awful
This looks like a holdover from the way we used to write examples, and I'm not even sure what all this React.createElement(...)
class wrapping is about.

It's a combination of two things: (1) the playground widget requires you to give code that is one component (thus you can do <Whatever />
or you can do the non-JSX equivalent: React.createElement(Whatever, {...})
-- this one just also defines the class inline (2) this example is showing how the pagination would be used (so we wrap the non-stateful thing with a thing that has state, for the sake of making it do something).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.