diff --git a/src/components/toggle/toggle.tsx b/src/components/toggle/toggle.tsx index e6d4bc62713..00766e027e5 100644 --- a/src/components/toggle/toggle.tsx +++ b/src/components/toggle/toggle.tsx @@ -30,7 +30,7 @@ export const TYPES = Object.keys(typeToInputTypeMap); export type ToggleType = keyof typeof typeToInputTypeMap; -export type EuiToggleProps = HTMLAttributes & +export type EuiToggleProps = Omit, 'onChange'> & CommonProps & { id?: string; /**