Fix QC
# fix - authentication - profile - pencarian user - forum ## No issue
This commit is contained in:
@@ -1,17 +1,23 @@
|
||||
"use client"
|
||||
"use client";
|
||||
|
||||
import { Group, Text } from "@mantine/core";
|
||||
import { IconAlertTriangle } from "@tabler/icons-react";
|
||||
|
||||
export default function ComponentEvent_ErrorMaximalInput({max}:{max: number}){
|
||||
return (
|
||||
<>
|
||||
<Group spacing={"xs"}>
|
||||
<IconAlertTriangle size={15} />
|
||||
<Text fz={10} fs={"italic"}>
|
||||
Maksimal {max} karakter !
|
||||
</Text>
|
||||
</Group>
|
||||
</>
|
||||
);
|
||||
}
|
||||
export default function ComponentEvent_ErrorMaximalInput({
|
||||
max,
|
||||
text,
|
||||
}: {
|
||||
max?: number;
|
||||
text?: string;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<Group spacing={"xs"}>
|
||||
<IconAlertTriangle size={15} />
|
||||
<Text fz={10} fs={"italic"}>
|
||||
{text ? text : ` Maksimal ${max} karakter !`}
|
||||
</Text>
|
||||
</Group>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user