fix: locale by_BY lint (#27061)

* fix: locale lint

* Update index.test.js.snap
This commit is contained in:
Tom Xu 2020-10-10 09:13:31 +08:00 committed by GitHub
parent f28f56d096
commit dfbe4b701c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15230 additions and 10188 deletions

View File

@ -1,17 +1,18 @@
/* eslint-disable no-template-curly-in-string */
import Pagination from 'rc-pagination/lib/locale/by_BY';
import DatePicker from '../date-picker/locale/by_BY';
import TimePicker from '../time-picker/locale/by_BY';
import Calendar from '../calendar/locale/by_BY';
import { Locale } from '../locale-provider';
var typeTemplate: string = "${label} не з'яўляецца тыпам ${type}";
const typeTemplate: string = "${label} не з'яўляецца тыпам ${type}";
const localeValues: Locale = {
locale: 'by',
Pagination: Pagination,
DatePicker: DatePicker,
TimePicker: TimePicker,
Calendar: Calendar,
Pagination,
DatePicker,
TimePicker,
Calendar,
global: {
placeholder: 'Калі ласка выберыце',
},