{
static defaultProps = {
defaulted: 'Hello, World!',
};
render() {
const { className, defaulted } = this.props;
return Greeted?: {defaulted.startsWith('Hello')}
;
}
}
const StyledMyComponent = styled(MyComponent)(
({ theme }: { theme: MyTheme }) => ({
fontFamily: theme.fontFamily,
}),
);
const StyledInferedPropsMyComponent = styled(MyComponent)(({ defaulted }) => ({
content: defaulted,
}));
const renderedMyComponent = (
);
}