mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 01:13:58 +08:00
fix: add direction prop to ConfigProvider of demos (#40089)
This commit is contained in:
parent
8501adbd84
commit
b242dde04c
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user