Skip to content

Commit

Permalink
fix: fixed type error by ommiting ref
Browse files Browse the repository at this point in the history
  • Loading branch information
guidari committed Dec 27, 2024
1 parent 8dcf3eb commit 09ebd53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/ListItem/ListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import classnames from 'classnames';
import { usePrefix } from '../../internal/usePrefix';
import { Text } from '../Text';

type ListItemProps = ComponentProps<'li'>;
type ListItemProps = Omit<ComponentProps<'li'>, 'ref'>;

export default function ListItem({
className,
Expand Down

0 comments on commit 09ebd53

Please sign in to comment.