File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -307,6 +307,8 @@ declare module 'spectacle' {
307
307
class TableRow extends React . Component < BaseProps > { }
308
308
309
309
class Text extends React . Component < TextProps > { }
310
+
311
+ class UnfitText extends React . Component < TextProps > { }
310
312
}
311
313
312
314
declare module 'spectacle/lib/utils/preloader' {
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ exports[`<Text /> should render a <p> with text for the default configuration. 1
49
49
lineHeight = { 1 }
50
50
>
51
51
<Styled(p)
52
+ lineHeight={ 1 }
52
53
styles={
53
54
Object {
54
55
" base" : Object {},
@@ -61,7 +62,7 @@ exports[`<Text /> should render a <p> with text for the default configuration. 1
61
62
}
62
63
>
63
64
<p
64
- className = " css-cmzp7u e1kfncg52"
65
+ className = " css-1izsweo e1kfncg52"
65
66
>
66
67
Spectacle!
67
68
</p >
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ export default class Text extends Component {
107
107
) : (
108
108
< UnfitText
109
109
className = { this . props . className }
110
+ lineHeight = { lineHeight }
110
111
styles = { {
111
112
context : this . context . styles . components . text ,
112
113
base : getStyles . call ( this ) ,
You can’t perform that action at this time.
0 commit comments