mirror of
https://github.com/theoludwig/theoludwig.git
synced 2026-08-25 09:21:33 +02:00
refactor: avoid usage of React.FC to use JSX.Element (to stay consistent)
This commit is contained in:
34 files changed
+51
-37
No files matched your search
@@ -6,7 +6,7 @@ export interface LoaderProps {
|
||||
className?: string
|
||||
}
|
||||
|
||||
export const Loader: React.FC<LoaderProps> = (props) => {
|
||||
export const Loader = (props: LoaderProps): JSX.Element => {
|
||||
const { width = 50, height = 50, className } = props
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user