We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a0c2a3 commit 7010203Copy full SHA for 7010203
components/config-provider/context.ts
@@ -88,6 +88,7 @@ export const configProviderProps = () => ({
88
componentDisabled: { type: Boolean, default: undefined },
89
direction: {
90
type: String as PropType<'ltr' | 'rtl'>,
91
+ default: 'ltr',
92
},
93
space: objectType<{ size?: SizeType | number }>(),
94
virtual: { type: Boolean, default: undefined },
@@ -155,6 +156,7 @@ export const defaultConfigProvider: ConfigProviderInnerProps = {
155
156
157
iconPrefixCls: computed(() => defaultIconPrefixCls),
158
getPopupContainer: computed(() => () => document.body),
159
+ direction: computed(() => 'ltr'),
160
};
161
162
export const useConfigContextInject = () => {
0 commit comments