Add child props to UserAccountHeader component
The UserAccountHeader component in the Dashboard app has been updated to include child props. Now, it allows the rendering of additional components between the PageHeader tags. This enhances its versatility and promotes code reuse in different contexts within the app.
This commit is contained in:
@@ -13,6 +13,8 @@ export function UserAccountHeader(
|
||||
title={props.title}
|
||||
description={props.description}
|
||||
mobileNavigation={<UserLayoutMobileNavigation />}
|
||||
/>
|
||||
>
|
||||
{props.children}
|
||||
</PageHeader>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user