implement scheduled order type
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user