Skip to content

Commit 192902f

Browse files
committed
remove a few more omits
1 parent 6a3a8de commit 192902f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/components/Select/Select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export type SelectSizes = 'xs' | 'sm' | 'md' | 'lg';
8888

8989
export type SelectVariants = 'outlined' | 'filled' | 'underlined' | 'unstyled';
9090

91-
export interface SelectProps extends Omit<HTMLAttributes, 'onChange' | 'value'> {
91+
export interface SelectProps extends Omit<HTMLAttributes, 'onChange'> {
9292
searchValue?: string;
9393
onSearchChange?: (search: string) => void;
9494
items: SelectItem[];

src/components/Stack/Stack.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function responsive(prop: any, mapper: (val: any) => any) {
3434
return null;
3535
}
3636

37-
export interface StackProps extends Omit<HTMLAttributes, 'wrap'>, ExtendedFlexboxProps, AsProp, ChildrenProp, SxProp {
37+
export interface StackProps extends HTMLAttributes, ExtendedFlexboxProps, AsProp, ChildrenProp, SxProp {
3838
/** Spacing between each stack element. */
3939
spacing?: SpaceProps['margin'];
4040
/** Set a custom divider element. */

src/components/Tag/Tag.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type TagSizes = 'sm' | 'md' | 'lg';
1010

1111
export type TagVariants = 'outline' | 'solid' | 'subtle';
1212

13-
export interface TagProps extends Omit<HTMLAttributes, 'label'>, AsProp, ChildrenProp, SxProp {
13+
export interface TagProps extends HTMLAttributes, AsProp, ChildrenProp, SxProp {
1414
/** Label shown within the tag. */
1515
label?: React.ReactNode;
1616
/** If `true`, the tag will be rounded. */

src/components/Tag/TagLabel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { SxProp, useComponentStyles } from '../../system';
33
import { AsProp, ChildrenProp, HTMLAttributes } from '../../types';
44
import { Box } from '../Box';
55

6-
export interface TagLabelProps extends Omit<HTMLAttributes, 'label'>, AsProp, ChildrenProp, SxProp {
6+
export interface TagLabelProps extends HTMLAttributes, AsProp, ChildrenProp, SxProp {
77
label?: React.ReactNode;
88
}
99

0 commit comments

Comments
 (0)