addons/docs/src/frameworks/react/__testfixtures__/9721-ts-deprecated-jsdoc/input.tsx
import React from 'react';
interface FooProps {
/**
* @deprecated Do not use! Use `size` instead!
*
* Width of foo
*/
width: number;
/**
* The size (replaces width)
*/
size: { width: number; height: number };
}
const Foo: React.FC<FooProps> = (props: FooProps) => <>{JSON.stringify(props)}</>;
export const component = Foo;