@trbl/react-ui-components
v0.0.3
Published
Silence is golden.
Downloads
8
Readme
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