PageContainer Does Not Display Page Title and Watermark
There are acturally 2 PageContainer
, the one used by Ant Design Pro is from @ant-design/pro-layout
, not @ant-design/pro-components
.
If page title and watermark does not work in your page
, make sure you imported the right one.
- import { PageContainer } from "@ant-design/pro-components";
+ import { PageContainer } from "@ant-design/pro-layout";
- This articale is based on Ant Design Pro V5.