/country-flag

Primary LanguageTypeScript

country Flag

preview

Github repository containing the source code for country Flag Component

created by X@pg_maaaashi

Table of Contents

Usage

<!-- 日本の国旗 -->
<country-flag></country-flag>
<!-- 艶やかなデザインに -->
<country-flag type="shiny"></country-flag>
<!-- アメリカの国旗 -->
<country-flag code="US"></country-flag>
<!-- 24pxで表示 -->
<country-flag size=24></country-flag>

script src

<head>
  <script src="https://maaaashi.github.io/country-flag/bundle.js"></script>
</head>
<body>
  <country-flag></country-flag>
</body>

npm

$ npm install @maaaashi/country-flag
import '@maaaashi/country-flag'

<country-flag></country-flag>