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:
giancarlo
2024-04-29 11:55:42 +07:00
parent 0292cdb5b3
commit b78e716298

View File

@@ -13,6 +13,8 @@ export function UserAccountHeader(
title={props.title}
description={props.description}
mobileNavigation={<UserLayoutMobileNavigation />}
/>
>
{props.children}
</PageHeader>
);
}