Batch of views getting replaceableComponent decorators
This commit is contained in:
parent
3e189d2728
commit
c359dff738
82 changed files with 164 additions and 2 deletions
|
@ -26,6 +26,7 @@ import Field from "../elements/Field";
|
|||
import StyledRadioButton from "../elements/StyledRadioButton";
|
||||
import TextWithTooltip from "../elements/TextWithTooltip";
|
||||
import withValidation, {IFieldState} from "../elements/Validation";
|
||||
import {replaceableComponent} from "../../../utils/replaceableComponent";
|
||||
|
||||
interface IProps {
|
||||
title?: string;
|
||||
|
@ -38,6 +39,7 @@ interface IState {
|
|||
otherHomeserver: string;
|
||||
}
|
||||
|
||||
@replaceableComponent("views.dialogs.ServerPickerDialog")
|
||||
export default class ServerPickerDialog extends React.PureComponent<IProps, IState> {
|
||||
private readonly defaultServer: ValidatedServerConfig;
|
||||
private readonly fieldRef = createRef<Field>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue