1.3.0 • Published 2 months ago

@mgxs/common v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

MGXS Common library

  • Creates Material-UI default theme
  • Spritesheet Loader Component

more to come

Install on another React project

npm add @mgxs/common @emotion/react @emotion/styled @mui/material

Usage

Theme

On your index.tsx file from your React project add

import { Theme } from "@mgxs/common";
import ReactDOM from "react-dom/client";
import { App } from "./components";

const root = ReactDOM.createRoot(
  document.getElementById("root") as HTMLElement
);

root.render(
  <Theme>
    <App />
  </Theme>
);

Loader

import { Loader } from "@mgxs/common";

const Page = () => {
  return <Loader scale={2} />;
};
1.2.8

2 months ago

1.2.7

2 months ago

1.3.0

2 months ago

1.2.9

2 months ago

1.2.10

2 months ago

1.2.6

2 months ago

1.2.5

2 months ago

1.2.4

2 months ago

1.2.3

2 months ago

1.2.2

2 months ago

1.2.1

2 months ago

1.1.1

8 months ago

1.1.0

8 months ago

1.0.5

8 months ago