Warning: Failed prop type: Invalid prop `corner` of value `BOTTOM_RIGHT` supplied to `ForwardRef`, expected one of ["top_left","top_right","bottom_left","bottom_right","top_start","top_end","bottom_start","bottom_end"].
TS error
Type '"bottom_right"' is not assignable to type '"TOP_LEFT" | "TOP_RIGHT" | "BOTTOM_LEFT" | "BOTTOM_RIGHT" | "TOP_START" | "TOP_END" | "BOTTOM_START" | "BOTTOM_END" | undefined'.ts(2322)
The expected type comes from property 'corner' which is declared here on type 'IntrinsicAttributes & { children?: ReactNode; slot?: string | undefined; style?: CSSProperties | undefined; ref?: RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined; ... 21 more ...; listElement?: any; }'
Runtime exception
TS error
Screen recording