An open source design system that's fully customizable and agent ready
TypeScript
feat(types): add data-* index signature to XDSBaseProps (#1502)
Cindy Zhangc2cd2620c95e
diff --git a/packages/core/src/XDSBaseProps.ts b/packages/core/src/XDSBaseProps.tsindex 7da4f42d79..fd891e777b 100644--- a/packages/core/src/XDSBaseProps.ts+++ b/packages/core/src/XDSBaseProps.ts@@ -38,4 +38,7 @@ export interface XDSBaseProps<T extends HTMLElement = HTMLElement> extends Omit<* ```*/xstyle?: StyleXStyles;++ /** Allow data-* attributes in object literals (not just JSX). */+ [key: `data-${string}`]: string | undefined;}