diff --git a/packages/ui/app/src/mdx/components/callout/Callout.tsx b/packages/ui/app/src/mdx/components/callout/Callout.tsx index 0b57dd2526..9aca15a1d3 100644 --- a/packages/ui/app/src/mdx/components/callout/Callout.tsx +++ b/packages/ui/app/src/mdx/components/callout/Callout.tsx @@ -101,65 +101,68 @@ export const Callout: FC> = ({ intent: intentRa // aliases -export function InfoCallout({ children, title }: PropsWithChildren>): ReactElement { +export function InfoCallout({ children, ...props }: PropsWithChildren>): ReactElement { return ( - + {children} ); } -export function WarningCallout({ children, title }: PropsWithChildren>): ReactElement { +export function WarningCallout({ children, ...props }: PropsWithChildren>): ReactElement { return ( - + {children} ); } -export function SuccessCallout({ children, title }: PropsWithChildren>): ReactElement { +export function SuccessCallout({ children, ...props }: PropsWithChildren>): ReactElement { return ( - + {children} ); } -export function ErrorCallout({ children, title }: PropsWithChildren>): ReactElement { +export function ErrorCallout({ children, ...props }: PropsWithChildren>): ReactElement { return ( - + {children} ); } -export function NoteCallout({ children, title }: PropsWithChildren>): ReactElement { +export function NoteCallout({ children, ...props }: PropsWithChildren>): ReactElement { return ( - + {children} ); } -export function LaunchNoteCallout({ children, title }: PropsWithChildren>): ReactElement { +export function LaunchNoteCallout({ + children, + ...props +}: PropsWithChildren>): ReactElement { return ( - + {children} ); } -export function TipCallout({ children, title }: PropsWithChildren>): ReactElement { +export function TipCallout({ children, ...props }: PropsWithChildren>): ReactElement { return ( - + {children} ); } -export function CheckCallout({ children, title }: PropsWithChildren>): ReactElement { +export function CheckCallout({ children, ...props }: PropsWithChildren>): ReactElement { return ( - + {children} );