import type React from "react"; import type { ButtonProps } from "../Button"; import type { DetailedHTMLProps, HTMLAttributes } from "react"; export type ButtonsRowWrapperProps = Omit, HTMLDivElement>, "children"> & Pick & { children: { item: ReturnType[number]; key: number | string; }[]; }; export type ButtonRowWithDefProps = Omit & { buttons: ButtonRowProps["buttons"]; }; export type ButtonRowWithChildrenProps = Omit & { children: ButtonRowProps["children"]; }; export interface ButtonRowProps { buttons?: ButtonProps[]; children?: React.ReactNode; className?: string; separator?: boolean; wrap?: boolean; skeleton?: boolean; gap?: number; }