@highoutput/hds-skeleton
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Getting started

We aim to build a library of custom ReactJS components that implements our unique UI design conventions. The ReactJS components will be based primarily on Chakra UI components. React Storybook will be used for documentation and testing.

Commands

To install the package, use:

npm i @highoutput/hds-skeleton

Usage

import { Skeleton } from "@highoutput/hds-skeleton";
import { Pagination } from "@highoutput/hds-pagination";
import { ThemeProvider,Box } from "@highoutput/hds";
import * as React from "react";

export default function Example() {
  const { data, loading, error } = useRemoteData()
  if (error) return <Box children='error' />

  return (

    <ThemeProvider>
      <Box>
      <Skeleton isLoaded={!loading}>
        <Heading>{data.title}</Heading>
      </Skeleton>
    </ThemeProvider>
  );
}

Readme

Keywords

none

Package Sidebar

Install

npm i @highoutput/hds-skeleton

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

5.89 kB

Total Files

12

Last publish

Collaborators

  • ccpacillos
  • rrmadjos
  • glvnzn
  • highoutputventures
  • highoutputdev
  • calvojp
  • boniqx09