This package has been deprecated

    Author message:

    DEPRECATED: This package has moved to react-flagpack. Please install react-flagpack instead using npm install react-flagpack --save

    react-flag-pack

    0.0.15 • Public • Published

    React Flag Pack

    A project made by Yummygum

    Installation

    npm install react-flag-pack --save

    Usage

    // use own name as variable
    import Flag from 'vue-flag-pack'

    Use in JSX:

    <Flag
      code="NL"
      gradient="real-linear"
      size="m"
      dropshadow
    />

    Available component configurations

    key value required default format
    country code String true - see all codes
    size String false l 's', 'm' or 'l'
    className String false - -
    dropshadow boolean false false -
    hasBorder boolean false true -
    hasBorderRadius boolean false true -
    customBorderRadius String false - -
    gradient String false '' 'top-down', 'real-linear' or 'real-circular'

    Build Dist

    # install dependencies 
    npm install
     
    # build for prod 
    npm run build

    Install

    npm i react-flag-pack

    DownloadsWeekly Downloads

    1

    Version

    0.0.15

    License

    MIT

    Unpacked Size

    6.96 kB

    Total Files

    3

    Last publish

    Collaborators

    • yummygum