implement scheduled order type

This commit is contained in:
2025-10-29 20:41:26 +03:00
parent 144cfa3f3a
commit ab5d0da47e
18 changed files with 219 additions and 82 deletions

View File

@@ -8,6 +8,7 @@ interface ProInputCardProps {
title?: string | ReactNode;
titleRight?: ReactNode;
className?: string;
dividerStyle?: React.CSSProperties;
}
const ProInputCard: FunctionComponent<ProInputCardProps> = ({
@@ -15,6 +16,7 @@ const ProInputCard: FunctionComponent<ProInputCardProps> = ({
title,
titleRight,
className,
dividerStyle,
}) => {
return (
<Card className={`${styles.ProInputCard} ${className}`}>
@@ -31,7 +33,7 @@ const ProInputCard: FunctionComponent<ProInputCardProps> = ({
{title && typeof title !== "string" && title}
<div style={{ position: "relative", top: 0 }}>{titleRight}</div>
</div>
<Divider style={{ margin: "5px 0 15px 0" }} />
<Divider style={{ margin: "5px 0 15px 0", ...dividerStyle }} />
{children}
</Card>
);