0.4.0-alpha • Published 4 years ago

react-microbe-ui v0.4.0-alpha

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

react-microbe-ui

DEVELOPMENT IS STOPPED! DO NOT USE THIS PACKAGE

We came to the conclusion that the creation of React Components for generating CSS classes of microbe-ui is an overkill.

This leads to superfluous abstractions which you shall need to learn, understand and remember.

It is much simpler to specify the necessary classes in your components directly using the familiar className prop, rather than import a separate component and manage it using custom props

En example:

export const MyComponent: React.FC = () => (
    <div>
        <MyReactComponent className="_pl-def _lg:pl-xl">
            ...
        </MyReactComponent>
    
        <div className="_module-grid _module-grid--1 _md:module-grid--2 _spacer _spacer--lg">
            <div className="_module-cell">...</div>
            <div className="_module-cell">...</div>
            <div className="_module-cell">...</div>
        </div>
    </div>
);

Keep calm and write clean code ;)
Regards, microbe-ui dev team.