caido-material-ui
v1.0.1
Published
Material UI themes/components for Caido plugins
Downloads
19
Readme
Caido Material UI
Caido theme and components built on top of Material-UI and Allotment.
Installation
pnpm add caido-material-ui
Usage
import React from "react";
import { createTheme, ThemeProvider } from "@mui/material/styles";
import { themeOptions, StyledSplitter, StyledBox } from "caido-material-ui";
export const App = () => {
const theme = createTheme(themeOptions);
return (
<ThemeProvider theme={theme}>
<StyledSplitter>
<StyledBox className="p-2">Hello World</StyledBox>
<StyledBox className="p-2">Hello World</StyledBox>
</StyledSplitter>
</ThemeProvider>
);
};
Contributing
Contributions are welcome! Please open an issue or submit a PR.