fix: add direction prop to ConfigProvider of demos (#40089)

This commit is contained in:
Danial Soheili 2023-01-08 18:36:45 +03:30 committed by GitHub
parent 8501adbd84
commit b242dde04c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ const DocLayout: React.FC = () => {
content="https://gw.alipayobjects.com/zos/rmsportal/rlpTLlbMzTNYuZGGCVYM.png"
/>
</Helmet>
<ConfigProvider locale={lang === 'cn' ? zhCN : undefined}>
<ConfigProvider direction={direction} locale={lang === 'cn' ? zhCN : undefined}>
<GlobalStyles />
<Header />
{content}