Files
hipmi/src/app_modules/event/component/error_maksimal_input.tsx
Bagasbanuna02 dbeb740d1f Fix QC
# fix
- authentication
- profile
- pencarian user
- forum
## No issue
2024-05-20 10:55:13 +08:00

24 lines
461 B
TypeScript

"use client";
import { Group, Text } from "@mantine/core";
import { IconAlertTriangle } from "@tabler/icons-react";
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>
</>
);
}