Skip to content

Commit

Permalink
fix(packages/sui-js-compiler): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoruiz committed Dec 18, 2023
1 parent b185cc8 commit c28e283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sui-js-compiler/test/server/src/example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ interface ThingProps {
type?: 'inert' | 'moving'
}

export default function Thing({name, type = 'moving'}: ThingProps): React.FC {
export default function Thing({name, type = 'moving'}: ThingProps): React.ReactElement {
return <div data-type={type}>{name}</div>
}

0 comments on commit c28e283

Please sign in to comment.