Correct className type

This commit is contained in:
Florian Scholdei
2019-10-29 16:44:35 +01:00
parent 289b3a3d21
commit b74865f4df
3 changed files with 8 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import { withContextPath } from "./urls";
type Props = {
src: string;
alt: string;
className?: any;
className?: string;
};
class Image extends React.Component<Props> {

View File

@@ -6,7 +6,7 @@ type Props = {
optionValues?: string[];
optionSelected: (p: string) => void;
preselectedOption?: string;
className: any;
className: string;
disabled?: boolean;
};