ui(admin): update button components, fix Editor for eggs
This commit is contained in:
parent
4e56f6dbea
commit
089860b721
35 changed files with 363 additions and 623 deletions
|
@ -35,7 +35,7 @@ interface PropsWithoutIcon extends Props {
|
|||
}
|
||||
|
||||
export const SubNavigationLink = ({ to, name, icon: IconComponent, children }: PropsWithIcon | PropsWithoutIcon) => (
|
||||
<NavLink to={to}>
|
||||
<NavLink to={to} end>
|
||||
{IconComponent ? <IconComponent /> : children}
|
||||
{name}
|
||||
</NavLink>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue