mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
Correct className type
This commit is contained in:
@@ -4,7 +4,7 @@ import { withContextPath } from "./urls";
|
||||
type Props = {
|
||||
src: string;
|
||||
alt: string;
|
||||
className?: any;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
class Image extends React.Component<Props> {
|
||||
|
||||
@@ -6,7 +6,7 @@ type Props = {
|
||||
optionValues?: string[];
|
||||
optionSelected: (p: string) => void;
|
||||
preselectedOption?: string;
|
||||
className: any;
|
||||
className: string;
|
||||
disabled?: boolean;
|
||||
};
|
||||
|
||||
|
||||
@@ -18,7 +18,11 @@ const StyledMember = styled.li`
|
||||
|
||||
export default class GroupMember extends React.Component<Props> {
|
||||
renderLink(to: string, label: string) {
|
||||
return <Link to={to}><Icon name="user" color="inherit" /> {label}</Link>;
|
||||
return (
|
||||
<Link to={to}>
|
||||
<Icon name="user" color="inherit" /> {label}
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
||||
showName(to: any, member: Member) {
|
||||
|
||||
Reference in New Issue
Block a user