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:
Sebastian Malton authored and GitHub committed 2021-06-08 07:41:36 -04:00
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);
}