File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
containers/CaseTeamMembers Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ interface TextBoxProps {
2121 children : React . ReactNode ;
2222}
2323
24- const TextBox : React . FC = ( { children } : WithStyle < TextBoxProps > ) => {
24+ const TextBox : React . FC < { children : React . ReactNode } > = ( { children } : WithStyle < TextBoxProps > ) => {
2525 return < TextBoxContainer > { children } </ TextBoxContainer > ;
2626} ;
2727
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ interface TextStylingProps{
1212 color ?: ThemeColors ;
1313 fontWeight ?: FontWeight ;
1414 size ?: Size ;
15+ children : React . ReactNode ;
1516}
1617
1718type TypographyProps = {
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ const MembersContainer = styled(Container) <{ countItems: number }>`
7979` ;
8080
8181
82- const CaseTeamMembers : React . FC = ( { children } ) => {
82+ const CaseTeamMembers : React . FC < { children : React . ReactNode } > = ( { children } ) => {
8383 const count = Children . count ( children ) ;
8484
8585 return ( < CaseTeamMembersContainer >
You can’t perform that action at this time.
0 commit comments