Skip to content

Commit

Permalink
Remove React.MixedElement from the Typescript example
Browse files Browse the repository at this point in the history
  • Loading branch information
none23 committed Dec 6, 2023
1 parent 7997652 commit 7654a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/docs/learn/06-static-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Props = {
style?: StyleXStyles,
};

function MyComponent({style, ...otherProps}: Props): React.MixedElement {
function MyComponent({style, ...otherProps}: Props) {
return (
<div
{...stylex.props(localStyles.foo, localStyles.bar, style)}
Expand Down

0 comments on commit 7654a69

Please sign in to comment.