diff --git a/src/components/chatInput/style.js b/src/components/chatInput/style.js index a3dbc011cd..763c5f2d19 100644 --- a/src/components/chatInput/style.js +++ b/src/components/chatInput/style.js @@ -1,4 +1,5 @@ // @flow +import React from 'react'; import theme from 'shared/theme'; import styled, { css } from 'styled-components'; import Textarea from 'react-textarea-autosize'; @@ -97,7 +98,9 @@ export const InputWrapper = styled.div` } `; -export const Input = styled(Textarea).attrs({ +export const Input = styled(({ hasAttachment, networkDisabled, ...rest }) => ( +