bpk-component-close-button

4.1.2 • Public • Published

bpk-component-close-button

Backpack close button component.

Installation

npm install bpk-component-close-button --save-dev

Usage

import React from 'react';
import BpkCloseButton from 'bpk-component-close-button';

export default () => (
  <BpkCloseButton label="Close" onClick={() => console.log('click')} />
);

Props

Property PropType Required Default Value
label string true -
onClick func true -

Readme

Keywords

none

Package Sidebar

Install

npm i bpk-component-close-button

Weekly Downloads

1,960

Version

4.1.2

License

Apache-2.0

Unpacked Size

23.1 kB

Total Files

10

Last publish

Collaborators

  • mungodewar
  • anambl
  • skyscanner-koalasquad
  • gert-jan.vercauteren
  • frugoman
  • marianeumayer-skyscanner
  • ojcurt
  • mattface