bpk-component-panel

Backpack panel component.

Usage no npm install needed!

<script type="module">
  import bpkComponentPanel from 'https://cdn.skypack.dev/bpk-component-panel';
</script>

README

bpk-component-panel

Backpack panel component.

Installation

npm install bpk-component-panel --save-dev

Usage

import React from 'react';
import BpkPanel from 'bpk-component-panel';

export default () => (
  <BpkPanel>
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
    commodo ligula eget dolor. Aenean massa. Cum sociis natoque
    penatibus et magnis dis parturient montes, nascetur ridiculus mus.
  </BpkPanel>
);

Props

Property PropType Required Default Value
children - true -
padded bool false true
fullWidth bool false false
className string false null