bpk-component-label

    5.1.8 • Public • Published

    bpk-component-label

    Backpack label component.

    Installation

    npm install bpk-component-label --save-dev

    Usage

    import React from 'react';
    import BpkLabel from 'bpk-component-label';
    
    export default () => (
      <BpkLabel htmlFor="origin">Origin</BpkLabel>
    )

    Props

    Property PropType Required Default Value
    children node true -
    disabled bool false false
    invalid bool false false
    required bool false false
    white bool false false

    Keywords

    none

    Install

    npm i bpk-component-label

    DownloadsWeekly Downloads

    902

    Version

    5.1.8

    License

    Apache-2.0

    Unpacked Size

    22.5 kB

    Total Files

    10

    Last publish

    Collaborators

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