UNPKG

@eccenca/gui-elements

Version:

GUI elements based on other libraries, usable in React application, written in Typescript.

19 lines (18 loc) 731 B
import React from "react"; export interface CardActionsProps extends React.HTMLAttributes<HTMLDivElement> { /** * Set an inverse direction of how the elements are aligned. * Mainly used for cards used as modals (dialogs). */ inverseDirection?: boolean; /** * Set footer to display its children on only one line. */ noWrap?: boolean; } /** * Contains a footer with user-interaction elements like buttons for the `Card` element. * Content must be ordered by importance, so the main action comes before other actions. */ export declare const CardActions: ({ children, className, inverseDirection, noWrap, ...otherProps }: CardActionsProps) => React.JSX.Element; export default CardActions;