UIProviderUsage#UIProvider provides theme to components, and provides a uniform localization support for built-in text of components.import ReactDOM from 'react-dom';import { UIProvider, locales } from 'tailor-ui'; const { zh_Hant } = locales; ReactDOM.render( <UIProvider locale={zh_Hant}>{children}</UIProvider>, document.querySelector('#root'));CopyI18n Examples#English正體中文Open ModalConfirm ModalPopconfirmWith Success: Click to UploadWith Fail: Click to UploadREFRESHSHOW CODETheme Examples#BaseDarkerPrimaryPrimary InvertDangerDanger InvertRegularNormalREFRESHSHOW CODEAPI#PropertyDescriptionTypeDefaultlocaleLocaleTypethemeThemeType