replaces js interfaces with types

This commit is contained in:
Mose Müller
2024-01-16 12:57:35 +01:00
parent 0e9832e2f1
commit 0ecaeac3fb
12 changed files with 24 additions and 24 deletions

View File

@@ -4,14 +4,14 @@ import { Attribute, GenericComponent } from './GenericComponent';
import { getIdFromFullAccessPath } from '../utils/stringUtils';
import { LevelName } from './NotificationsComponent';
interface ListComponentProps {
type ListComponentProps = {
name: string;
parentPath?: string;
value: Attribute[];
docString: string;
isInstantUpdate: boolean;
addNotification: (message: string, levelname?: LevelName) => void;
}
};
export const ListComponent = React.memo((props: ListComponentProps) => {
const { name, parentPath, value, docString, isInstantUpdate, addNotification } =