npm.io
1.4.0 • Published 5 years ago

lc-react-essentials

Licence
MIT
Version
1.4.0
Deps
0
Size
67 kB
Vulns
0
Weekly
0

LC React Essentials

It is a small set of reusable components created to implement web UIs consistently.

Go to the Storybook and try things out https://lc-react-essentials-storybook.web.app/?path=/story/welcome-getting-started--page


NPM


See on NPM



How to install

npm install lc-react-essentials
yarn add lc-react-essentials

Usage

Once installed, all you have to do is import the components as needed, for example:

import React from "react";
import { ContentBlock, Button } from "lc-react-essentials";

const App = () => (
  <ContentBlock
    title={`I am Brajeam George`}
    subtitle={`And I'm a Photographer`}
    fontColor='black'
    children={
      <>
        <Button label='Hire me' />
        <Button label='Galery' />
      </>
    }
  />
);

export default App;

Troubleshooting

In case of any issue, head over to the GitHub repo and create an issue if your issue does not already exist.

Keywords