@dhruv-m-patel/react-components
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

@dhruv-m-patel/react-components

A library of React components for frontend projects

CI Status

Using this package

  1. Install this package

    npm i @dhruv-m-patel/react-components
    #OR
    yarn add @dhruv-m-patel/react-components --dev
  2. Import package components and integrate them in your code

    import * as React from 'react';
    import { Text } from '@dhruv-m-patel/react-components';
    
    export default function MyAwesomeComponent({ name }) {
      const shouldPrintName = !!name?.length;
    
      return (
        <Text>
          Hello {shouldPrintName ? `, ${name}` : 'World'}!
        </Text>
      );
    }

Readme

Keywords

Package Sidebar

Install

npm i @dhruv-m-patel/react-components

Weekly Downloads

11

Version

1.3.0

License

MIT

Unpacked Size

113 kB

Total Files

102

Last publish

Collaborators

  • dhruv-m-patel