mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-30 00:08:04 +00:00
Enabled recommended-requiring-type-checking as result type fixes provided (#632)
* Enabled recommended-requiring-type-checking * from .cjs to .js * check * check * check * check * A lot of types aligned and refactored * More strict types * Improvement * Improvements * Improvements * Fixed routs * Fixed import types
This commit is contained in:
@@ -12,13 +12,13 @@
|
||||
* @return JSX.Element
|
||||
*
|
||||
*/
|
||||
import { JSX } from "react";
|
||||
import type { ChangeEvent, JSX } from "react";
|
||||
|
||||
export interface TextInputProps {
|
||||
label: string;
|
||||
placeholder: string;
|
||||
isMandatory?: boolean;
|
||||
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
||||
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
||||
}
|
||||
|
||||
export default function TextInput(props: TextInputProps): JSX.Element {
|
||||
|
||||
Reference in New Issue
Block a user