daaas-ui
v1.18.4
Published
Component library for Data Analytics as a Service built on Material-UI
Downloads
3,865
Keywords
Readme
Data Analytics as a Service (DAaaS) UI
Component library for Data Analytics as a Service built on Material-UI.
Installation
Ensure you have @mui/material and @emotion/react already installed.
npm install daaas-ui
Usage
Try out our live demo
import { Card } from "daaas-ui";
import { styles, theme } from "daaas-ui";
import { GlobalStyles, ThemeProvider } from "@mui/material";
export default function App() {
return (
<ThemeProvider theme={theme}>
<GlobalStyles styles={styles} />
<Card
title="Card title"
error={false}
primaryButton="Edit"
secondaryButton="Delete"
content={<span>Hello world</span>}
/>
</ThemeProvider>
);
}
ReactDOM.render(<App />, document.querySelector('#app'));