Skip to content

Commit

Permalink
omit default input onChange prop
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAAndrew committed Nov 28, 2024
1 parent 60b5999 commit d55a567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Taglist/Taglist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import React, {
import "./Taglist.css";
import { Tag, TagProps } from "../Tag";

type TaglistProps = React.InputHTMLAttributes<HTMLInputElement> & {
type TaglistProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'> & {
value: string[];
onChange: (tags: string[]) => void;
TagComponent?: ComponentType<TagProps>;
Expand Down

0 comments on commit d55a567

Please sign in to comment.