Skip to content

Commit d326f5f

Browse files
authored
fix(VariantItem): remove unsupported props of StandardLisItem from type definitions (#4830)
1 parent 58ef172 commit d326f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/main/src/components/VariantManagement/VariantItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { InputPropTypes } from '../../webComponents/index.js';
77
import type { StandardListItemDomRef, StandardListItemPropTypes } from '../../webComponents/StandardListItem/index.js';
88
import { StandardListItem } from '../../webComponents/StandardListItem/index.js';
99

10-
export interface VariantItemPropTypes extends Omit<StandardListItemPropTypes, 'children' | 'onDetailClick'> {
10+
export interface VariantItemPropTypes extends Pick<StandardListItemPropTypes, 'accessibleName' | 'selected'> {
1111
/**
1212
* The name of the variant.
1313
*/

0 commit comments

Comments
 (0)