Skip to content

Latest commit

 

History

History
 
 

bpk-component-close-button

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 -