Batch of views getting replaceableComponent decorators
This commit is contained in:
parent
c359dff738
commit
fc5b1ed9d6
41 changed files with 82 additions and 0 deletions
|
@ -19,6 +19,7 @@ import React from 'react';
|
|||
|
||||
import { _t } from '../../../languageHandler';
|
||||
import {Key} from "../../../Keyboard";
|
||||
import {replaceableComponent} from "../../../utils/replaceableComponent";
|
||||
|
||||
interface IProps {
|
||||
query: string;
|
||||
|
@ -26,6 +27,7 @@ interface IProps {
|
|||
onEnter(): void;
|
||||
}
|
||||
|
||||
@replaceableComponent("views.emojipicker.Search")
|
||||
class Search extends React.PureComponent<IProps> {
|
||||
private inputRef = React.createRef<HTMLInputElement>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue