import { IconContainerProps, Orientation, iconSize } from "./types"; function IconContainer({ children, color, size = "small", isActive, nestedComponent, style, }: IconContainerProps) { const orientationStyle = { [Orientation.BottomLeft]: { bottom: `calc(-${iconSize[size]}/9)`, left: `calc(-${iconSize[size]}/9)`, }, [Orientation.BottomRight]: { bottom: `calc(-${iconSize[size]}/9)`, right: `calc(-${iconSize[size]}/9)`, }, [Orientation.TopLeft]: { top: `calc(-${iconSize[size]}/9)`, left: `calc(-${iconSize[size]}/9)`, }, [Orientation.TopRight]: { top: `calc(-${iconSize[size]}/9)`, right: `calc(-${iconSize[size]}/9)`, }, }; return (