Skip to content

Commit 015d98e

Browse files
committed
Update README.markdown
1 parent 56f65da commit 015d98e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.markdown

+4-2
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,12 @@ A simple tag for wrapping inline text that you want lightly styled in a monospac
244244
245245
####\<Heading /> (Base)
246246
247-
Heading tags are special in that, when you specify a `size` prop, they generate the appropriate heading tag, and extend themselves with a style that is defined in the theme file for that heading.
247+
Heading tags are special in that, when you specify a `size` prop, they generate the appropriate heading tag, and extend themselves with a style that is defined in the theme file for that heading. Line height can be adjusted via a numeric `lineHeight` prop.
248248
249249
|Name|PropType|Description|
250250
|---|---|---|
251251
|fit|React.PropTypes.boolean| When set to true, fits text to the slide's width. **Note: If you use the 'scale' transition, this won't work in Safari.** |
252+
|lineHeight|React.PropTypes.number| Sets the line height of your text.|
252253
253254
####\<Image /> (Base)
254255
@@ -290,11 +291,12 @@ The `S` tag is used to add inline styling to a piece of text, such as underline
290291
291292
####\<Text/> (Base)
292293
293-
The `Text` tag is used to add text to your slide.
294+
The `Text` tag is used to add text to your slide. Line height can be adjusted via a numeric `lineHeight` prop.
294295
295296
|Name|PropType|Description|
296297
|---|---|---|
297298
|fit|React.PropTypes.boolean| When set to true, fits text to the slide's width. **Note: If you use the 'scale' transition, this won't work in Safari.** |
299+
|lineHeight|React.PropTypes.number| Sets the line height of your text.|
298300
299301
### Base Props
300302

0 commit comments

Comments
 (0)