mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-01 19:15:52 +01:00
use reflow to migrate from flow to typescript
This commit is contained in:
15
scm-ui/ui-components/src/HelpIcon.tsx
Normal file
15
scm-ui/ui-components/src/HelpIcon.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from 'react';
|
||||
import Icon from './Icon';
|
||||
|
||||
type Props = {
|
||||
className?: string;
|
||||
};
|
||||
|
||||
export default class HelpIcon extends React.Component<Props> {
|
||||
render() {
|
||||
const { className } = this.props;
|
||||
return (
|
||||
<Icon name="question-circle" color="blue-light" className={className} />
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user