diff --git a/addons/events/src/components/Event.tsx b/addons/events/src/components/Event.tsx index 427ba7b37fa..1cc500725b7 100644 --- a/addons/events/src/components/Event.tsx +++ b/addons/events/src/components/Event.tsx @@ -11,9 +11,13 @@ import { OnEmitEvent } from '../index'; interface StyledTextareaProps { shown: boolean; failed: boolean; + value?: string; + onChange?: (event: React.ChangeEvent) => void; } -const StyledTextarea = styled(Textarea)( +const StyledTextarea = styled(({ shown, failed, ...rest }: StyledTextareaProps) => ( +