fix event
deskripsi: - mengubah tampilan text biasa ke html view - menambahkan text editor pada create & edit
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { MainColor } from "@/app_modules/_global/color";
|
||||
import { Grid, Text } from "@mantine/core";
|
||||
import { Grid, Paper, Text } from "@mantine/core";
|
||||
|
||||
export function Admin_V3_ComponentDetail({
|
||||
item,
|
||||
@@ -8,17 +8,22 @@ export function Admin_V3_ComponentDetail({
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<Grid m={0} bg={MainColor.soft_darkblue}>
|
||||
<Grid.Col lg={3} md={3} sm={3} xs={3} span={4}>
|
||||
<Text fw={"bold"}>{item.title || item.label}</Text>
|
||||
</Grid.Col>
|
||||
<Paper
|
||||
bg={MainColor.soft_darkblue}
|
||||
style={{
|
||||
color: MainColor.white,
|
||||
}}
|
||||
>
|
||||
<Grid m={0}>
|
||||
<Grid.Col lg={3} md={3} sm={3} xs={3} span={4}>
|
||||
<Text fw={"bold"}>{item.title || item.label}</Text>
|
||||
</Grid.Col>
|
||||
|
||||
<Grid.Col span={"auto"}>
|
||||
<Text>
|
||||
{item.value}
|
||||
</Text>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Text>{item.value}</Text>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
</Paper>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user