@carbon/ibm-products
Version:
Carbon for IBM Products
54 lines • 2.71 kB
TypeScript
import React, { ReactNode } from 'react';
import PropTypes from 'prop-types';
interface CardFooterProps {
actions?: ReactNode[] | ReactNode;
disabled?: boolean;
footerActionIcon?: React.ElementType;
hasActions?: boolean;
hasButton?: boolean;
onPrimaryButtonClick?: () => void;
onSecondaryButtonClick?: () => void;
primaryButtonDisabled?: boolean;
primaryButtonHref?: string;
primaryButtonIcon?: React.ElementType;
primaryButtonKind?: 'primary' | 'ghost';
primaryButtonPlacement?: 'top' | 'bottom';
primaryButtonText?: string;
productive?: boolean;
secondaryButtonDisabled?: boolean;
secondaryButtonHref?: string;
secondaryButtonIcon?: React.ElementType;
secondaryButtonKind?: 'secondary' | 'ghost';
secondaryButtonPlacement?: 'top' | 'bottom';
secondaryButtonText?: string;
}
export declare const CardFooter: {
({ actions, disabled, footerActionIcon: FooterActionIcon, hasActions, hasButton, onPrimaryButtonClick, onSecondaryButtonClick, primaryButtonDisabled, primaryButtonHref, primaryButtonIcon, primaryButtonKind, primaryButtonPlacement, primaryButtonText, productive, secondaryButtonDisabled, secondaryButtonHref, secondaryButtonIcon, secondaryButtonKind, secondaryButtonPlacement, secondaryButtonText, }: CardFooterProps): React.JSX.Element;
/**@ts-ignore */
propTypes: {
actions: PropTypes.Requireable<NonNullable<any[] | PropTypes.ReactNodeLike>>;
disabled: PropTypes.Requireable<boolean>;
footerActionIcon: PropTypes.Requireable<object>;
hasActions: PropTypes.Requireable<boolean>;
hasButton: PropTypes.Requireable<boolean>;
onPrimaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
onSecondaryButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
primaryButtonDisabled: PropTypes.Requireable<boolean>;
primaryButtonHref: PropTypes.Requireable<string>;
primaryButtonIcon: PropTypes.Requireable<object>;
primaryButtonKind: PropTypes.Requireable<string>;
primaryButtonPlacement: PropTypes.Requireable<string>;
primaryButtonText: PropTypes.Requireable<string>;
productive: PropTypes.Requireable<boolean>;
secondaryButtonDisabled: PropTypes.Requireable<boolean>;
secondaryButtonHref: PropTypes.Requireable<string>;
secondaryButtonIcon: PropTypes.Requireable<object>;
secondaryButtonKind: PropTypes.Requireable<string>;
secondaryButtonPlacement: PropTypes.Requireable<string>;
secondaryButtonText: PropTypes.Requireable<string>;
};
/**@ts-ignore */
displayName: string;
};
export {};
//# sourceMappingURL=CardFooter.d.ts.map