@orderandchaos/react-components-typescript
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

@orderandchaos/react-components-typescript

react components typescript

NPM JavaScript Style Guide

Install

npm install --save @orderandchaos/react-components-typescript

Usage

import React from 'react';
import {Column, ContainerFullWidth, Row, Title, Text, ThemeProvider} from "@orderandchaos/react-components-typescript";
import styles from "@orderandchaos/react-styles/dist/styles.module.css";
import customStyles from './custom-styles.module.css'

const App = () =>
    <ThemeProvider theme={customStyles}>
        <ContainerFullWidth className={styles.bc_lighterGrey}>
            <Row>
                <Column columnClass={styles.col6}>
                    <Title tag={'h1'}>Hello World</Title>
                    <Text>Blah blah blah</Text>
                </Column>
                <Column columnClass={styles.col6}>
                    <Title tag={'h1'}>Second Column</Title>
                    <Text>Blah blah blah</Text>
                </Column>
            </Row>
        </ContainerFullWidth>
    </ThemeProvider>
;

export default App;

License

MIT © sarcoma

Readme

Keywords

none

Package Sidebar

Install

npm i @orderandchaos/react-components-typescript

Weekly Downloads

1

Version

3.0.1

License

MIT

Unpacked Size

141 kB

Total Files

20

Last publish

Collaborators

  • sarcoma