0.0.2 • Published 5 months ago

@multimatic/react-ui-components v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Modify by Multimatic

React UI Components

A collection of small, unobtrusive React components.

Quick Start

Installation

$ yarn add @trbl/react-ui-components

Compositon

  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 install
$ npm run dev
$ open http://localhost:3000

Documentation

All available props can be found via the references below:

License

MIT Copyright (c) TRBL, LLC

0.0.2

5 months ago

0.0.1

5 months ago