import { IconButtonProps } from "../Button/types.js"; import React from "react"; //#region src/ActionList/TrailingAction.d.ts type ElementProps = { as?: 'button'; href?: never; /** * Specify whether the action is in a loading state. * Only available for button elements. */ loading?: boolean; } | { as: 'a'; href: string; loading?: never; }; type ActionListTrailingActionProps = ElementProps & { icon?: React.ElementType; label: string; className?: string; style?: React.CSSProperties; } & Pick; //#endregion export { ActionListTrailingActionProps };