mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
33 lines
647 B
Vue
33 lines
647 B
Vue
<script>
|
|
import CN from '../index.zh-CN.md';
|
|
import US from '../index.en-US.md';
|
|
|
|
const md = {
|
|
cn: `# ConfigProvider 全局化配置
|
|
为组件提供统一的全局化配置。`,
|
|
us: `# ConfigProvider
|
|
\`ConfigProvider\` provides a uniform configuration support for components.
|
|
`,
|
|
};
|
|
export default {
|
|
category: 'Components',
|
|
subtitle: '全局化配置',
|
|
cols: 1,
|
|
type: '其他',
|
|
title: 'ConfigProvider',
|
|
render() {
|
|
return (
|
|
<div>
|
|
<md cn={md.cn} us={md.us} />
|
|
<api>
|
|
<template slot="cn">
|
|
<CN />
|
|
</template>
|
|
<US />
|
|
</api>
|
|
</div>
|
|
);
|
|
},
|
|
};
|
|
</script>
|