@asurraa/sura-ui-common-styles
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Storybook

@asurraa/sura-ui-common-styles

Common Style Components

Some of the common style components use internally at AsurRaa

Installation

yarn add @asurraa/sura-ui-common-styles

Basic Components

export const InputHeader = styled.div`
  margin-top: 10px;
`;
export const CenterScreen = styled.div`
  display: flex;
  justify-content: center;
  min-height: 100vh;
  align-items: center;
`;
export const FlexBetween = styled.div`
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
`;

export const Center = styled.div`
  display: flex;
  justify-content: center;
`;

export const CenterLayout = styled.div`
  display: flex;
  justify-content: center;
  min-height: 100vh;
`;

export const Flexbox = styled.div`
  display: flex;
  justify-content: center;
  align-items: center;
`;

Usage

import { InputHeader } from "@src/styles/common.style";

const App = () => {
  return (
    <div>
      // Others JSX Component
      <InputHeader />
    </div>
  );
};

Readme

Keywords

none

Package Sidebar

Install

npm i @asurraa/sura-ui-common-styles

Weekly Downloads

0

Version

1.0.5

License

none

Unpacked Size

6.51 kB

Total Files

9

Last publish

Collaborators

  • vichea
  • themkimhong
  • lyhourchhen
  • duongkimseng