@trbl/react-ui-components

0.0.3 • Public • Published

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

Package Sidebar

Install

npm i @trbl/react-ui-components

Weekly Downloads

11

Version

0.0.3

License

MIT

Unpacked Size

45.3 kB

Total Files

5

Last publish

Collaborators

  • saioren
  • chrishomsey
  • jacobsfletch
  • trouble