Neverending Puppy Marathon

    x-i18n

    2.0.2 • Public • Published

    x-i18n

    react i18n国际化

    npm

    npm install --save-dev x-i18n
    

    使用

    //接受两个参数返回当前语言包
     renderContent=(local,localCode)=>{
     }
    <I18n defaultValue={this.state.local}>
        {this.renderContent}
    </I18n>
    

    关于作者

    https://github.com/tianxiangbing

    Install

    npm i x-i18n

    DownloadsWeekly Downloads

    38

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    107 kB

    Total Files

    41

    Last publish

    Collaborators

    • tianxiangbing