1.0.22 • Published 7 months ago
micro-frontend-react-ui v1.0.22
micro-frontend-react-ui
This react ui lib is for micro-fronted app.
Installation
node v16.15.0
npm i micro-frontend-react-ui
Usage
Button
import { Button } from 'micro-frontend-react-ui';
function Component() {
return (
<Button
primary // boolean | undefined;
>
Click Me
</Button>
);
}
StyleProvider
import { StyleProvider, Button } from 'micro-frontend-react-ui';
function Component() {
return (
<StyleProvider
theme // { colors: { primary: string } } | undefined
nonce // string | undefined
stylisPlugins // Array<StylisPlugin> | undefined
namespace // string | undefined
container // Node | undefined
speedy // boolean | undefined
prepend // boolean | undefined
insertionPoint // HTMLElement | undefined
children // ReactNode | undefined
>
<Button>Click Me</Button>
</StyleProvider>
);
}
License
1.0.19
7 months ago
1.0.18
7 months ago
1.0.17
7 months ago
1.0.16
7 months ago
1.0.9
7 months ago
1.0.8
7 months ago
1.0.7
7 months ago
1.0.6
7 months ago
1.0.22
7 months ago
1.0.21
7 months ago
1.0.20
7 months ago
1.0.11
7 months ago
1.0.10
7 months ago
1.0.15
7 months ago
1.0.14
7 months ago
1.0.13
7 months ago
1.0.12
7 months ago
1.0.5
10 months ago
1.0.4
10 months ago
1.0.3
10 months ago
1.0.2
10 months ago
1.0.1
10 months ago
1.0.0
10 months ago