UNPKG

ttk-app-core

Version:
17 lines (14 loc) 416 B
import React from 'react' import { List, Card } from 'antd' import classNames from 'classnames' function ListComponent(props) { let className = classNames({ 'mk-list': true, [props.className]: !!props.className }) return <List {...props} className={className} > <Card title={'title'}>Card content</Card> </List> } ListComponent.Item = List.Item export default ListComponent