Admin
App-Information Add: - screens/Admin/App-Information - _ShareComponent/Admin - app/(application)/admin/app-information ### No Issue
This commit is contained in:
16
components/_ShareComponent/Admin/BoxTitlePage.tsx
Normal file
16
components/_ShareComponent/Admin/BoxTitlePage.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import BaseBox from "@/components/Box/BaseBox";
|
||||
import TextCustom from "@/components/Text/TextCustom";
|
||||
import { TEXT_SIZE_LARGE } from "@/constants/constans-value";
|
||||
|
||||
export default function AdminComp_BoxTitle({ title , rightComponent}: { title: string , rightComponent?: React.ReactNode}) {
|
||||
return (
|
||||
<>
|
||||
<BaseBox style={{ flexDirection: "row", justifyContent: "space-between" }}>
|
||||
<TextCustom style={{ alignSelf: "center" }} bold size={TEXT_SIZE_LARGE}>
|
||||
{title}
|
||||
</TextCustom>
|
||||
{rightComponent}
|
||||
</BaseBox>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user