chore(deps-dev): bump eslint-plugin-react from 7.21.5 to 7.33.2 (#6226)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import { LabelText } from "~/components/Input";
|
||||
import Text from "~/components/Text";
|
||||
import { undraggableOnDesktop } from "~/styles";
|
||||
|
||||
type Props = React.HTMLAttributes<HTMLInputElement> & {
|
||||
interface Props extends React.HTMLAttributes<HTMLInputElement> {
|
||||
width?: number;
|
||||
height?: number;
|
||||
label?: string;
|
||||
@@ -14,8 +14,7 @@ type Props = React.HTMLAttributes<HTMLInputElement> & {
|
||||
checked?: boolean;
|
||||
disabled?: boolean;
|
||||
onChange: (event: React.ChangeEvent<HTMLInputElement>) => unknown;
|
||||
id?: string;
|
||||
};
|
||||
}
|
||||
|
||||
function Switch({
|
||||
width = 32,
|
||||
|
||||
Reference in New Issue
Block a user