0.8.7 • Published 3 years ago

@qimpl/components-library v0.8.7

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

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;
0.8.7

3 years ago

0.8.6

3 years ago

0.8.5

3 years ago

0.8.4

3 years ago

0.8.1

3 years ago

0.7.1

3 years ago

0.8.3

3 years ago

0.8.2

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.0

3 years ago

0.3.5

3 years ago