@bsol-oss/react-app-shell
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

React Datatable

Installation

npm install @chakra-ui/react @emotion/react @bsol-oss/react-shell

Usage

Shell

<Shell
  navigation={
    <Grid
      templateRows={"auto 1fr auto"}
      flexFlow={"column"}
      padding={"1"}
      gap={"4"}
    >
      <Image
        justifySelf={"center"}
        src={"https://picsum.photos/300/200?grayscale"}
      ></Image>
      <Flex flexFlow={"column"}>
        <NavButton href={"/"} label="Home" icon={<FaHome />} />
        <NavButton
          href={"/about"}
          label="About"
          icon={<FaInfoCircle />}
        />
        <NavButton href={"/blog"} label="Blog" icon={<FaPenNib />} />
        <NavButton
          href={"/portfolio"}
          label="Portfolio"
          icon={<FaBriefcase />}
        />
        <NavButton
          href={"/contact"}
          label="Contact"
          icon={<FaEnvelope />}
          buttonProps={{
            onClick: () => {
              console.log("good");
            },
          }}
        />
        <NavButton
          href={"/services"}
          label="Services"
          icon={<FaTools />}
        />
      </Flex>
      <Grid
        templateRows={" 1fr auto"}
        padding={"1"}
        gap={"4"}
        alignItems={"center"}
      >
        <ResizeButton />
        <UserButton
          user={{
            name: "Lorrem picsum",
            avatar: "https://picsum.photos/300/200?grayscale",
          }}
        />
      </Grid>
    </Grid>
  }
>
  <App />
</Shell>

Development

npm install
npm run storybook

Dependents (0)

Package Sidebar

Install

npm i @bsol-oss/react-app-shell

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

185 kB

Total Files

32

Last publish

Collaborators

  • wilgod
  • rossbsol
  • omiq17
  • jyotipadhi
  • jacky-ng-w3b