You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
634 B
24 lines
634 B
2 years ago
|
import React from 'react';
|
||
|
import { Card } from 'antd';
|
||
|
|
||
|
const gridStyle: React.CSSProperties = {
|
||
|
width: '25%',
|
||
|
textAlign: 'center',
|
||
|
};
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Card title="Card Title">
|
||
|
<Card.Grid style={gridStyle}>Content</Card.Grid>
|
||
|
<Card.Grid hoverable={false} style={gridStyle}>
|
||
|
Content
|
||
|
</Card.Grid>
|
||
|
<Card.Grid style={gridStyle}>Content</Card.Grid>
|
||
|
<Card.Grid style={gridStyle}>Content</Card.Grid>
|
||
|
<Card.Grid style={gridStyle}>Content</Card.Grid>
|
||
|
<Card.Grid style={gridStyle}>Content</Card.Grid>
|
||
|
<Card.Grid style={gridStyle}>Content</Card.Grid>
|
||
|
</Card>
|
||
|
);
|
||
|
|
||
|
export default App;
|