Commit 6e6ef78f authored by XieZhiXiong's avatar XieZhiXiong

chroe: 完善 类型声明

parent 3aa14f4b
......@@ -9,10 +9,16 @@ import React from 'react';
import {
Descriptions,
} from 'antd';
import CustomizeColumn from '@/components/CustomizeColumn';
import CustomizeColumn, { IProps as CustomizeColumnProps } from '@/components/CustomizeColumn';
import styles from './index.less';
const MemberDocCategory: React.FC = () => {
interface IProps extends Omit<CustomizeColumnProps, 'data' | 'columns'> {}
const MemberDocCategory: React.FC<IProps> = (props: IProps) => {
const {
...rest
} = props;
const data = [
{
title: '会员编号',
......@@ -68,6 +74,7 @@ const MemberDocCategory: React.FC = () => {
bodyStyle={{
paddingBottom: 0,
}}
{...rest}
/>
);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment