2.0.1-beta.0 • Published 11 months ago

@bsol-oss/react-app-shell v2.0.1-beta.0

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

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
          label="Home"
          icon={<FaHome />}
          buttonProps={{
            onClick: () => {},
          }}
        />
        <NavButton
          label="About"
          icon={<FaInfoCircle />}
        />
        <NavButton label="Blog" icon={<FaPenNib />} />
        <NavButton
          label="Portfolio"
          icon={<FaBriefcase />}
        />
        <NavButton
          label="Contact"
          icon={<FaEnvelope />}
          buttonProps={{
            onClick: () => {
              console.log("good");
            },
          }}
        />
        <NavButton
          label="Services"
          icon={<FaTools />}
          tag={<Badge>{"nice"}</Badge>}
        />
      </Flex>
      <Grid
        templateRows={" 1fr auto"}
        padding={"1"}
        gap={"4"}
        alignItems={"center"}
      >
        <ResizeButton />
        <UserButton
          avatarProps={{
            name: "Lorrem picsum",
            src: "https://picsum.photos/300/200?grayscale",
          }}
        />
      </Grid>
    </Grid>
  }
>
  <App />
</Shell>

Development

npm install
npm run storybook
2.0.1-beta.0

11 months ago

2.0.0

1 year ago

1.0.0

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.2

1 year ago