mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 16:30:45 +01:00
feat(locale): provide dir on defineLocale (#2620)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export type LocalePair = {
|
||||
export type Messages = {
|
||||
inputMenu: {
|
||||
noMatch: string
|
||||
noData: string
|
||||
@@ -36,8 +36,11 @@ export type LocalePair = {
|
||||
}
|
||||
}
|
||||
|
||||
export type Direction = 'ltr' | 'rtl'
|
||||
|
||||
export type Locale = {
|
||||
name: string
|
||||
code: string
|
||||
ui: LocalePair
|
||||
dir: Direction
|
||||
messages: Messages
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user