File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,10 +137,10 @@ function CardTitle({
137137 withTitleIcon,
138138 titleIcon,
139139} : {
140- children : React . ReactNode ;
141- direction ?: CardProps [ 'direction' ] ;
142- withTitleIcon : CardProps [ 'withTitleIcon' ] ;
143- titleIcon : CardProps [ 'titleIcon' ] ;
140+ readonly children : React . ReactNode ;
141+ readonly direction ?: CardProps [ 'direction' ] ;
142+ readonly withTitleIcon : CardProps [ 'withTitleIcon' ] ;
143+ readonly titleIcon : CardProps [ 'titleIcon' ] ;
144144} ) {
145145 if ( ! children ) {
146146 return null ;
@@ -158,8 +158,8 @@ function CardSubTitle({
158158 children,
159159 backgroundColor,
160160} : {
161- children : React . ReactNode ;
162- backgroundColor ?: CardProps [ 'backgroundColor' ] ;
161+ readonly children : React . ReactNode ;
162+ readonly backgroundColor ?: CardProps [ 'backgroundColor' ] ;
163163} ) : React . ReactElement | null {
164164 if ( ! children ) {
165165 return null ;
You can’t perform that action at this time.
0 commit comments