diff --git a/web/modals/threads/thread-settings-general-tab.react.js b/web/modals/threads/thread-settings-general-tab.react.js index 8e078428e..f9abd695c 100644 --- a/web/modals/threads/thread-settings-general-tab.react.js +++ b/web/modals/threads/thread-settings-general-tab.react.js @@ -1,73 +1,71 @@ // @flow import * as React from 'react'; import Input from '../input.react.js'; import ColorSelector from './color-selector.react.js'; import css from './thread-settings-general-tab.css'; type ThreadSettingsGeneralTabProps = { + +inputDisabled: boolean, +threadNameValue: string, +threadNamePlaceholder: string, +threadNameOnChange: (event: SyntheticEvent) => void, - +threadNameDisabled: boolean, +threadDescriptionValue: string, +threadDescriptionOnChange: ( event: SyntheticEvent, ) => void, - +threadDescriptionDisabled: boolean, +threadColorCurrentColor: string, +threadColorOnColorSelection: (color: string) => void, }; function ThreadSettingsGeneralTab( props: ThreadSettingsGeneralTabProps, ): React.Node { const { + inputDisabled, threadNameValue, threadNamePlaceholder, threadNameOnChange, - threadNameDisabled, threadDescriptionValue, threadDescriptionOnChange, - threadDescriptionDisabled, threadColorCurrentColor, threadColorOnColorSelection, } = props; return (
Thread name
Description