feat: add form for drawer and refactor styles

This commit is contained in:
2025-04-22 11:53:36 +05:00
parent e7fbd53dfe
commit 5300e53c43
8 changed files with 158 additions and 4 deletions

View File

@@ -3,9 +3,10 @@ import Title from 'antd/es/typography/Title';
interface HeaderProps {
title: string;
additionalContent?: React.ReactNode;
}
export default function Header({ title }: HeaderProps) {
export default function Header({ title, additionalContent }: HeaderProps) {
return (
<div
style={{
@@ -26,8 +27,9 @@ export default function Header({ title }: HeaderProps) {
marginRight: '26px',
}}
>
{additionalContent}
<img
src="./icons/sider/more.svg"
src="./icons/header/more.svg"
alt="more"
style={{ height: '16px', width: '16px' }}
/>