diff --git a/components/dash-core-components/src/components/Textarea.react.js b/components/dash-core-components/src/components/Textarea.react.js deleted file mode 100644 index 2611823f02..0000000000 --- a/components/dash-core-components/src/components/Textarea.react.js +++ /dev/null @@ -1,287 +0,0 @@ -/* eslint-disable no-unused-vars */ -import React from 'react'; -import PropTypes from 'prop-types'; -import {pick} from 'ramda'; - -const textAreaProps = [ - 'id', - 'autoFocus', - 'cols', - 'disabled', - 'form', - 'maxLength', - 'minLength', - 'name', - 'placeholder', - 'readOnly', - 'required', - 'rows', - 'wrap', - 'accessKey', - 'className', - 'contentEditable', - 'contextMenu', - 'dir', - 'draggable', - 'hidden', - 'lang', - 'spellCheck', - 'style', - 'tabIndex', - 'title', -]; - -/** - * A basic HTML textarea for entering multiline text. - * - */ -const Textarea = ({ - setProps, - value, - n_blur = 0, - n_blur_timestamp = -1, - n_clicks, - n_clicks_timestamp = -1, - persisted_props, - persistence_type, - ...props -}) => { - const ctx = window.dash_component_api.useDashContext(); - const isLoading = ctx.useLoading(); - - return ( -