Skip to content

Is this possible to update standart UI? #4759

Answered by vinclou
YunusEmreAlps asked this question in Q&A
Discussion options

You must be logged in to vote

@YunusEmreAlps

  1. Visit the following for how the original is implemented Sider
  2. Either implement your own version, or grab the code and extend it to your liking
  3. Grab the Layout or create your own, here's example for Ant (it will be located in layouts folder of Refine repo)
export const Layout: React.FC<TCustomLayoutProps> = ({ children, Header, Sider, Title, Footer, initialSiderCollapsed }) => {
	const SiderToRender = Sider ?? DefaultSider
	const HeaderToRender = Header ?? DefaultHeader
	const TitleToRender = Title ?? DefaultTitle

	return (
		<ThemedLayoutContextProvider initialSiderCollapsed={initialSiderCollapsed}>
			<AntdLayout>
				<SiderToRender Title={TitleToRender} />
				<AntdLayout

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by omeraplak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants