An open source design system that's fully customizable and agent ready
TypeScript
fix(core): remove redundant React HTMLAttributes popover augmentation (#2921)
Cindy Zhanga2ccfc239499
diff --git a/packages/core/src/Layer/useXDSLayer.tsx b/packages/core/src/Layer/useXDSLayer.tsxindex 108f423888..8bcfa72cc4 100644--- a/packages/core/src/Layer/useXDSLayer.tsx+++ b/packages/core/src/Layer/useXDSLayer.tsx@@ -25,14 +25,6 @@ import * as stylex from '@stylexjs/stylex';import type {StyleXStyles} from '@stylexjs/stylex';import {typographyVars} from '../theme/tokens.stylex';-// Extend React's HTMLAttributes to include popover API attributes-declare module 'react' {- // eslint-disable-next-line @typescript-eslint/no-unused-vars- interface HTMLAttributes<T> {- popover?: 'auto' | 'manual' | 'hint' | '';- }-}-const styles = stylex.create({// Base reset for all layersbase: {