An open source design system that's fully customizable and agent ready
TypeScript
fix(Blockquote): remove re-declared escape hatch props from XDSBlockquoteProps (#2477)
Cindy Zhang04087fd50272
diff --git a/packages/core/src/Blockquote/XDSBlockquote.tsx b/packages/core/src/Blockquote/XDSBlockquote.tsxindex 1898fa3d86..e56d6c7af7 100644--- a/packages/core/src/Blockquote/XDSBlockquote.tsx+++ b/packages/core/src/Blockquote/XDSBlockquote.tsx@@ -18,7 +18,6 @@import type {ReactNode} from 'react';import type {XDSBaseProps} from '../XDSBaseProps';import * as stylex from '@stylexjs/stylex';-import type {StyleXStyles} from '@stylexjs/stylex';import {colorVars, spacingVars, typeScaleVars} from '../theme/tokens.stylex';import {xdsClassName, mergeProps} from '../utils';@@ -31,27 +30,6 @@ export interface XDSBlockquoteProps extends XDSBaseProps<HTMLQuoteElement> {* Optional attribution for the quote. Rendered in a <footer> with <cite>.*/cite?: ReactNode;- /**- * StyleX styles created via `stylex.create()`. Merged with the component's- * base styles inside a single `stylex.props()` call for optimal deduplication.- *- * @example- * ```- * const overrides = stylex.create({ root: { marginBottom: 8 } });- * <XDSBlockquote xstyle={overrides.root}>Quote</XDSBlockquote>- * ```- */- xstyle?: StyleXStyles;- /**- * CSS class name(s) appended to the root element.- * If you're using StyleX, prefer `xstyle` for optimal style deduplication.- */- className?: string;- /**- * Inline styles to apply to the root element. Spread after StyleX- * inline styles, so these values take priority.- */- style?: React.CSSProperties;}const styles = stylex.create({