import { css, keyframes } from "goober"; import React from "react"; const leftSwing = keyframes` 50%, 100% { transform: translateX(0); } `; const rightSwing = keyframes` 50% { transform: translateX(0); } 100% { transform: translateX(100%); } `; export interface BouncingBallsProps { className?: string; color?: string; width?: number | string; height?: number | string; style?: React.CSSProperties; duration?: string; } const BouncingBalls: React.FC> = ({ className = "", color = "#0d6efd", width = "3rem", height = "1rem", style = {}, duration = "0.5s", ...others }) => { const resolvedWidth = typeof width === "number" ? `${width}px` : width; const resolvedHeight = typeof height === "number" ? `${height}px` : height; return (
); }; export default BouncingBalls;