Nominating Presidential Muppets

    iotex-react-language-dropdown

    2.4.3 • Public • Published

    iotex-react-language-dropdown

    how to use in your project

    base use(default show all languages menu):

    import LanguageSwitcher from "iotex-react-language-dropdown";
    <LanguageSwitcher/>

    setting user languages menu, eg:

    import { Languages } from "iotex-react-language-dropdown";
    <LanguageSwitcher supportLanguages={[Languages.EN, Languages.ZH_CN]}/>

    use google tools(default false), eg:

    <LanguageSwitcher googleTools={true}/>

    Scripts

    • npm run dev: develop react component
    • npm run build: build source code from src to dist
    • npm publish: publish code to npm
    • npm run changelog-patch bump version patch (bug fixes)
    • npm run changelog-minor bump version minor (new features)
    • npm run changelog-major bump version major (breaking change)

    Keywords

    none

    Install

    npm i iotex-react-language-dropdown

    DownloadsWeekly Downloads

    1

    Version

    2.4.3

    License

    MIT

    Unpacked Size

    65.5 kB

    Total Files

    20

    Last publish

    Collaborators

    • qevan1
    • taozhiyuzhuo
    • zongzheng
    • haaai_202108
    • xueping
    • koishi
    • solan
    • maswalker