1.0.1 • Published 7 months ago

nogaz-components-library v1.0.1

Weekly downloads
-
License
-
Repository
github
Last release
7 months ago

gg-components-library

gg-components-library is a component library for React, developed with the goal of providing reusable and styled components for React projects. This library uses Storybook to visualize and test components in isolation.

Scripts available

  • build**: Compiles the components for production.
  • storybook: Starts the Storybook server for viewing and testing components.
  • build_storybook**: Compile the production version of Storybook.
  • lint**: Run ESLint on the source code.
  • lint:fix: Runs ESLint and automatically fixes problems encountered.
  • prettier**: Verify code formatting with Prettier.
  • prettier:fix: Automatically fixes formatting problems with Prettier.

Usage

To use gg-components-library in your project:

  1. Install the library:
yarn add gg-components-library

or

npm install gg-components-library
  1. Import the component you want to use:
import { Button } from 'gg-components-library'

function MyComponent() {
  return <Button>Mi botón</Button>
}
1.0.1

7 months ago

1.0.0

7 months ago