This code defines three higher-order component (HOC) overrides for Framer using React.
withRotate → Animates a component with a 90° rotation over 2 seconds.
withHover → Adds an interactive hover effect that slightly scales up the component.
withRandomColor → Connects to a simple Framer store that tracks a background color. On each click, the component’s background updates to a random color using Framer’s utility.