0.0.3 • Published 4 years ago

@trbl/react-ui-components v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

NPM Bundle Size Supported by TRBL

React UI Components

Silence is golden.

Quick Start

Installation

$ yarn add @trbl/react-ui-components

Composition

  import React from 'react';
  import { TextWithInlineIcon, SocialMediaIcon } from '@trbl/react-ui-components';

  const MyInlineIcon = () => return <svg>...</svg>;

  const App = () => {
    return (
      <Fragment>
        <TextWithInlineIcon
          text="text with inline icon"
          icon={<MyInlineIcon>}
        />
        <SocialMediaIcon platform="facebook">
      </Fragment>
    )
  }

  export default App;

Demo

To demo locally, clone the repo and

$ yarn
$ yarn dev
$ open http://localhost:3000

Documentation

All available props can be found via the references below:

Contribution

Help us, or let us help you help us.

License

MIT Copyright (c) TRBL, LLC

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

5 years ago