golobe-ui
v1.1.0
Published
A stroybook 6 with TypeScript demo
Downloads
1
Maintainers
Readme
golobe-design-system
https://www.npmjs.com/package/golobe-design-system
Install
npm install --save golobe-design-system
Usage
import React, { Component } from "react";
import { ButtonUi } from "golobe-ui";
class Example extends Component {
render() {
return <ButtonUi />;
}
}
style & theme
import React, { Component } from 'react'
import { ConfigProvider } from 'antd'
import { ThemeProvider } from 'styled-components'
import {GlobalStyle , antdThemeToken,antdThemeComponents ,DefaultTheme} from 'golobe-ui'
class Example extends Component {
render() {
return <>
<ConfigProvider theme={antdTheme}>
<ThemeProvider theme={styledComponentsTheme}>
<GlobalStyle />
{children}
</ThemeProvider>
</ConfigProvider>
<>
}
}
License
MIT © reza-talebii