bpk-component-content-container

    5.0.2 • Public • Published

    bpk-component-content-container

    Backpack content container component.

    Installation

    npm install bpk-component-content-container --save-dev

    Usage

    import React from 'react';
    import BpkContentContainer from 'bpk-component-content-container';
    
    export default () => (
      <BpkContentContainer>
        <h1>My heading</h1>
        <p>My paragraph.</p>
      </BpkContentContainer>
    );

    Props

    Property PropType Required Default Value
    children - false null
    dangerouslySetInnerHTML { __html: string } false null
    tagName 'article', 'aside', 'div', 'main', 'section' false 'div'
    bareHtml bool false false
    alternate bool false false

    Keywords

    none

    Install

    npm i bpk-component-content-container

    DownloadsWeekly Downloads

    980

    Version

    5.0.2

    License

    Apache-2.0

    Unpacked Size

    28.5 kB

    Total Files

    10

    Last publish

    Collaborators

    • frugoman
    • zgeor
    • anambl
    • marianeumayer-skyscanner
    • ojcurt
    • mattface