import { ISx } from '../../styles/utils'; import { IThemeScrollbarGutter } from '../../styles/utils/types'; import { AnimationProps, DraggableProps, FocusHandlers, HoverHandlers, LayoutProps, TapHandlers } from 'framer-motion'; import { CSSProperties, DragEvent, DragEventHandler, JSX, PropsWithChildren, Ref } from 'react'; export interface IStack extends ISx, PropsWithChildren { className?: string; isHover?: boolean; id?: string; isRipple?: boolean; as?: keyof JSX.IntrinsicElements; scrollbarGutter?: IThemeScrollbarGutter; onClick?: () => void; onDragOver?: DragEventHandler; onDrop?: (e: DragEvent) => void; ref?: Ref; style?: CSSProperties | undefined; } export type IStackMotion = IStack & LayoutProps & AnimationProps & HoverHandlers & TapHandlers & FocusHandlers & DraggableProps & { style?: CSSProperties; };