You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GHHub/src/views/reservation/NameCard.jsx

29 lines
838 B
React

import { observer } from "mobx-react";
import { Row, Col, Space, Table, Typography, List, Watermark } from 'antd';
import { useStore } from '@/stores/StoreContext.js';
const { Title } = Typography;
function NameCard() {
const { reservationStore } = useStore();
const { meetAndGreet } = reservationStore;
return (
<Watermark content={['Global Highlights', 'Discovery Your Way!']}>
<Space direction="vertical" style={{ width: '100%' }}>
<Row gutter={{ md: 24 }}>
<Col span={24}>
<Title level={1}>{meetAndGreet.customerNames}</Title>
</Col>
</Row>
<Row gutter={{ md: 24 }}>
<Col span={24}>
<Title level={1}>{meetAndGreet.pax}</Title>
</Col>
</Row>
</Space>
</Watermark>
);
}
export default observer(NameCard);