react-flag-kit

FlagKit for React

react-flag-kit downloads react-flag-kit version react-flag-kit license

react-flag-kit类似的npm包:

npm下载趋势

3 年
🌟 在 react-flag-kit 的 README.md 中显示实时使用量图表,只需复制下面的代码。
## Usage Trend
[![Usage Trend of react-flag-kit](https://npm-compare.com/img/npm-trend/THREE_YEARS/react-flag-kit.png)](https://npm-compare.com/react-flag-kit#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 在 react-flag-kit 的 README.md 中显示 GitHub stars 趋势图表,只需复制下面的代码。
## GitHub Stars Trend
[![GitHub Stars Trend of react-flag-kit](https://npm-compare.com/img/github-trend/react-flag-kit.png)](https://npm-compare.com/react-flag-kit)

统计详情

npm包名称
下载量
Stars
大小
Issues
发布时间
License
react-flag-kit05010.8 kB4-MIT

react-flag-kit的README

FlagKit for React

Main npm version npm minzipped size npm downloads

Installation

npm i react-flag-kit
# or using Yarn
yarn add react-flag-kit

Usage

import { FlagIcon } from "react-flag-kit";

export const USAFlag = () => <FlagIcon code="US" size={48} />;

Props

export interface FlagIconProps extends ImgHTMLAttributes<HTMLImageElement> {
  size?: number;
  code: FlagIconCode;
}

Reference

The list of available flags you can find in FlagKit repo.

Licence

MIT