@multimatic/react-ui-components

0.0.2 • Public • Published

Modify by Multimatic

React UI Components

A collection of small, unobtrusive React components.

Quick Start

Installation

$ yarn add @multimatic/react-ui-components

Compositon

  import React from 'react';
  import { TextWithInlineIcon, SocialMediaIcon } from '@multimatic/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:

  • TextWithInlineIcon
  • SocialMediaIcon

License

MIT Copyright (c) Multimatic

Package Sidebar

Install

npm i @multimatic/react-ui-components

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

22.6 kB

Total Files

4

Last publish

Collaborators

  • ferdin
  • rapatel-mm