Styled Bootstrap Grid
This library is a re-implementation of the bootstrap grid layout system. It uses styled-components as basic components for styling your web layout.
Get Started
$ yarn add axelra-styled-bootstrap-grid import React from "react";
import styled from "styled-components";
import {Col, Container, Row, Spacer} from "axelra-styled-bootstrap-grid";
const MyContainer = styled(Container)`
margin-top: 10px;
`;
const Column = styled(Col)`
display: flex;
`;
export const Example = () => {
return (
<MyContainer fluid>
<Spacer x10 />
<Row>
<Column md={5}>Restyled Column :)</Column>
</Row>
</MyContainer>
);
};Last updated