File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
@import '~react-gif-player/dist/gifplayer.min.css' ;
2
2
3
- .gif_player , .gif_player .play_button {
4
- font-family : inherit;
3
+ .gif_player ,
4
+ .gif_player .play_button {
5
+ font-family : inherit;
5
6
}
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ const MODERN_SHORT_CODES = {
122
122
< pre { ...cls ( props , 'ktl-text-2' , styles . codeBlock ) } />
123
123
</ div >
124
124
) ,
125
- img : ( { src, ...props } ) => {
125
+ img : ( ( { src, ...props } ) => {
126
126
const url = useSiteURL ( ) ;
127
127
const { pathname } = new URL ( src , url ) ;
128
128
const image = < img src = { src } { ...props } /> ;
@@ -134,7 +134,7 @@ const MODERN_SHORT_CODES = {
134
134
) : (
135
135
image
136
136
) ;
137
- } ,
137
+ } ) as React . FC < JSX . IntrinsicElements [ 'img' ] > ,
138
138
139
139
// strong: props => <strong {...cls(props, 'ktl-')}/>,
140
140
// hr: props => <hr {...cls(props, 'ktl-')}/>,
You can’t perform that action at this time.
0 commit comments