Not a Package Manager

    @fenderdigital/react-button
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    Button for Fender React UI Kit

    Description

    A button component with configurable props for setting border, font and layout styles.

    Installation and Usage

    yarn add @fenderdigital/react-button --save
    
    import Button from '@fenderdigital/react-button';

    Props

    • children - renders any child elements
    • color - background color of the button
    • dataId - data-id value
    • disabled - attribute to disable butto
    • fontStyles - configurable tachyon classes for the text
    • onClick - callback
    • styles - configurable tachyon classes for the button
    • type - configurable value for desired button behavior (button, submit) etc
    propName propType defaultValue isRequired
    children node null -
    color string red -
    dataId string button-component -
    disabled boolean false -
    fontStyles string f6 futura-heavy ttu white -
    onClick func () => {} -
    styles string bn br pa3 -
    type string button -

    Development

    Check the Monorepo README for development documentation.

    Install

    npm i @fenderdigital/react-button

    DownloadsWeekly Downloads

    6

    Version

    2.0.0

    License

    UNLICENSED

    Unpacked Size

    65.4 kB

    Total Files

    10

    Last publish

    Collaborators

    • stevenhuynh
    • markv242
    • coopercodecomposer
    • sherbert
    • jcuanan
    • derduher
    • philipyun
    • theloopla
    • jemnon