App-Information Add: - screens/Admin/App-Information - _ShareComponent/Admin - app/(application)/admin/app-information ### No Issue
17 lines
569 B
TypeScript
17 lines
569 B
TypeScript
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>
|
|
</>
|
|
);
|
|
}
|