addons/docs/src/frameworks/react/__testfixtures__/9592-ts-styled-props/input.tsx
import React from 'react';
import styled from 'styled-components';
interface HelloProps {
title: string;
}
const StyledHello = styled.div`
color: red;
`;
const Hello = ({ title }: HelloProps) => {
return <StyledHello className="hello">Hello Component {title}</StyledHello>;
};
export const component = Hello;