Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 852 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 852 Bytes

Caido Material UI

npm version

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.