score:1
Accepted answer
for your layout, you should be following this structure in your main component,
<layout>
<sider>sider</sider>
<layout>
<header>header</header>
<content>
<p>welcome</p>
</content>
<footer>footer</footer>
</layout>
</layout>
Source: stackoverflow.com
Related Query
- Change Content if menu item change Ant.design and Reactjs
- React Router with - Ant Design Sider: how to populate content section with components for relevant menu item
- Ant Design Menu and Menu Item Customize
- Change ant design collapse content and header text color
- How to change Content based on Menu Item click in AntD (React UI Library)
- ReactJS Ant design select component mock change event
- Change Ant Design variables using ReactJs
- How do I change the color of selected menu item in Ant Design?
- How to customize and change color of a menu in ant design?
- link postback in reactJS and dotnet core using ant design
- How to run a function and change the content every 5 seconds on Reactjs
- React Ant Design submenu menu item
- ReactJs - Ant design Tabs Card does not render content
- ReactJS :: How to Show Only Relevant Menu Items and Hide Other Menu Items Upon Page Change
- Can't change the values of multiselect with ant design and react
- ReactJS - How to change style and class of react component?
- ReactJS change color of element on scroll and when certain position is reached
- ReactJS - ant design - Fix Footer with Layout
- Ant Design Table with vertical and horizontal scroll
- Ant Design - Make Menu Uncollapsable/Unfoldable
- Ant Design Upload get file content
- Ant Design - searching for both key and value in a select
- ant design v4 breaks react testing library tests for Select and Autocomplete
- ReactJS can't change video and poster videojs
- Ant design: Wrapping a menu item into a custom component
- How to design a ReactJS component that listens to a WebSocket and interacts with CSS animation
- CSS Modules + Ant design in ReactJs does not work
- Pagination and Card Components with Ant Design (antd)?
- ant design - Modal value reset on "cancel" and "X" close button - API RESPONSE BASE REACT JS
- ReactJS Ant Design - Open DatePicker on button click
More Query from same tag
- Redux Reducer updated value but not reflected in props
- Support for the experimental syntax 'jsx' isn't currently enabled when including node_modules in babel.config.js
- React-JavaScript purpose of a line in the code
- React Hooks: Set All State Values to the Same Values with useState
- Animating out a React component before unmounting that has lost the props data it needs to display?
- How to set type for event.target.value?
- Unable to change the value in the object
- Why is the MuiThemeProvider overriding a component style?
- Is there any way to call useEffect hook after resetting all the states
- TypeError: Cannot read property 'cases' of undefined
- Call react route to Push Notification
- How to use react to implement google Place's Searches, to create markers on the map?
- How to update nested array (multi react-select)
- unable to uncheck and check single item
- How do I modify a css property onClick using ReactJS
- Passing props into React component
- React app - Load selected array in Material UI Table not rendering checks
- React: Use environment variables
- Last letter not getting set while onChange event
- "Expected an assignment but found an expression"
- React component bundle for consuming by browser and node (react hooks issue)
- Calling Multiple component in same page in React.js
- Triggering form's submit event manually in React doesn't check required inputs
- CKEditor not populating data received the API
- Stopping a timer in componentWillUnmount
- "detail": "Authentication credentials were not provided." Django-rest-frameweork and React
- Reactjs and issue with closures
- Rendering components using .map resets setTimeout within components
- how to remove console.log during production in reactjs created with `create-react-app`
- React Component: Foundation Modal (Reveal) won't open