Remove redundant values
This commit is contained in:
parent
4d1b3fbb71
commit
b580b3ddaf
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ interface Props extends ComponentProps<'div'> {
|
||||||
}
|
}
|
||||||
|
|
||||||
const SelectItem = React.forwardRef<HTMLDivElement, Props>(function selectItem(
|
const SelectItem = React.forwardRef<HTMLDivElement, Props>(function selectItem(
|
||||||
{ children, value, iconSrc, altText, ...props },
|
{ children, value, ...props },
|
||||||
forwardedRef
|
forwardedRef
|
||||||
) {
|
) {
|
||||||
const { altText, iconSrc, ...rest } = props
|
const { altText, iconSrc, ...rest } = props
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue