diff --git a/packages/components/src/components/alert/alert.tsx b/packages/components/src/components/alert/alert.tsx index 83611286de..0cd7401129 100644 --- a/packages/components/src/components/alert/alert.tsx +++ b/packages/components/src/components/alert/alert.tsx @@ -18,6 +18,7 @@ const Alert: React.FC = (props: AlertProps) => { icon, type = 'info', size = 'middle', + style, } = props; const getIcon = () => { @@ -43,6 +44,7 @@ const Alert: React.FC = (props: AlertProps) => { return (
void; + /** + 外层样式 + */ + style?: React.CSSProperties; }