import * as React from 'react' import * as antd from 'antd' import { LoadingOutlined } from 'components/Icons' interface CardComponent_props { style: object; type: string; children: any; } const CardComponent = (props: CardComponent_props) => { let frag; const rd_error = const rd_loading = if (props.type == "error") frag = (rd_error) if (props.type == "skeleton") frag = (rd_loading) if (!props.type) frag = (props.children) return(
{frag}
) } CardComponent.defaultProps = { style: null, type: null, children:

Empty

} export default CardComponent