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