1.0.17 • Published 2 years ago
@jswork/react-mobxer v1.0.17
react-mobxer
React mobx manager.
installation
npm install -S @jswork/react-mobxer
usage
import css
@import "~@jswork/react-mobxer/dist/style.css"; // or use sass @import "~@jswork/react-mobxer/dist/style.scss"; // customize your styles: $react-mobxer-options: ()
import js
import React from 'react'; import ReactMobxer from '@jswork/react-mobxer'; import styled from 'styled-components'; const Container = styled.div` width: 80%; margin: 30px auto 0; `; export default (props: any) => { return ( <Container> <ReactMobxer /> </Container> ); };
preview
license
Code released under the MIT license.