({ title, theme }: TitleComponentProps)
| 34 | }; |
| 35 | |
| 36 | const TitleComponent = ({ title, theme }: TitleComponentProps) => ( |
| 37 | <div |
| 38 | style={{ |
| 39 | backgroundColor: theme.backgroundColor, |
| 40 | color: theme.primaryColor, |
| 41 | }} |
| 42 | > |
| 43 | {title} |
| 44 | </div> |
| 45 | ); |
| 46 | |
| 47 | const ThemedTitle = withTheme(TitleComponent); |
| 48 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…