@arnat/styled-container
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

ARNAT styled-container

npm Travis branch Codecov branch storybook lerna

Modular approach to use bootstrap components for quick prototypes, as an entrypoint of the component library.

Usage

import { Container } from '@arnat/styled-container';

const MyContainerComponent = (props) => (
  {/* fixed width for small, medium, large and xlarge screen width */}
  <Container>
    <p>Content 1</p>
    <p>Content 2</p>
    <p>Content 3</p>
  </Container>

  {/* fills all available space */}
  <Container fluid>
    <p>Content 1</p>
    <p>Content 2</p>
    <p>Content 3</p>
  </Container>
);

Properties

Properties which can be added to the component to change the visual appearance.

  • fluid Type: boolean

Package Sidebar

Install

npm i @arnat/styled-container

Weekly Downloads

1

Version

0.0.12

License

MIT

Unpacked Size

24.1 kB

Total Files

13

Last publish

Collaborators

  • arnat.technologies
  • rsurjano