mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Make customizing ItemListLayout header explicitly reducable (#2956)
- Add search placeholder text for helm releases Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
757fed47fa
commit
ae2fa15b20
11 files changed
+122
-84
No files matched your search
@@ -32,12 +32,12 @@ export const searchUrlParam = createPageParam({
|
||||
defaultValue: "",
|
||||
});
|
||||
|
||||
interface Props extends InputProps {
|
||||
export interface SearchInputUrlProps extends InputProps {
|
||||
compact?: boolean; // show only search-icon when not focused
|
||||
}
|
||||
|
||||
@observer
|
||||
export class SearchInputUrl extends React.Component<Props> {
|
||||
export class SearchInputUrl extends React.Component<SearchInputUrlProps> {
|
||||
@observable inputVal = ""; // fix: use empty string on init to avoid react warnings
|
||||
|
||||
@disposeOnUnmount
|
||||
@@ -62,7 +62,7 @@ export class SearchInputUrl extends React.Component<Props> {
|
||||
}
|
||||
};
|
||||
|
||||
constructor(props: Props) {
|
||||
constructor(props: SearchInputUrlProps) {
|
||||
super(props);
|
||||
makeObservable(this);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user