@qimpl/components-library
TypeScript icon, indicating that this package has built-in type declarations

0.8.7 • Public • Published

Qimpl Components

JavaScript Style Guide Version NPM Code Quality Status Storybook

Install

npm install --save components-library

Components

  • Anchor
  • Button
  • Card
  • Carousel
  • CookieBanner
  • Form
  • Input
  • Map
  • Menu
  • MenuItem
  • Pricing
  • Select
  • Text
  • Title
  • VisitPicker

Usage

JavaScript :

import React from 'react';

import { Button, Theme } from '@qimpl/components-library';

const Example = () => (
  <Button handleClick={() => console.log('clicked')} color={Theme.colors.primary}>
    My button
  </Button>
);

export default Example;

TypeScript :

import React from 'react';

// Components props type can be imported
// import { ButtonProps } from '@qimpl/components-library';
import { Button, Theme } from '@qimpl/components-library';

const Example = (): React.ReactElement => (
  <Button handleClick={() => console.log('clicked')} color={Theme.colors.primary}>
    My button
  </Button>
);

export default Example;

Readme

Keywords

none

Package Sidebar

Install

npm i @qimpl/components-library

Weekly Downloads

0

Version

0.8.7

License

none

Unpacked Size

203 kB

Total Files

26

Last publish

Collaborators

  • thyrael
  • jerome1337