Skip to content

Commit a33659b

Browse files
authored
minor docs updates
1 parent d58d6d0 commit a33659b

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

README.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ The Deck tag is the root level tag for your presentation. It supports the follow
431431
| ----------------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
432432
| autoplay | PropTypes.bool | Automatically advance slides. | `false` |
433433
| autoplayDuration | PropTypes.number | Accepts integer value in milliseconds for global autoplay duration. | `7000` |
434-
| autoplayLoop | PropTypes.bool | Keep slides in loop. | `false` |
434+
| autoplayLoop | PropTypes.bool | Keep slides in loop. | `true` |
435435
| controls | PropTypes.bool | Show control arrows when not in fullscreen. | `true` |
436436
| contentHeight | PropTypes.numbers | Baseline content area height. | `700px` |
437437
| contentWidth | PropTypes.numbers | Baseline content area width. | `1000px` |
@@ -902,26 +902,28 @@ The `Text` tag is used to add text to your slide. Line height can be adjusted vi
902902
903903
Every component above that has `(Base)` after it has been extended from a common class that includes the following props:
904904
905-
| Name | PropType | Description | Default |
906-
| ---------- | -------------------------- | --------------------------------------------------------------------------- | --------------- |
907-
| italic | PropTypes.boolean | Set `fontStyle` to `italic` | `false` |
908-
| bold | PropTypes.boolean | Set `fontWeight` to `bold` | `false` |
909-
| caps | PropTypes.boolean | Set `textTransform` to `uppercase` | `false` |
910-
| margin | PropTypes.number or string | Set `margin` value | |
911-
| padding | PropTypes.number or string | Set `padding` value | |
912-
| textColor | PropTypes.string | Set `color` value | |
913-
| textFont | PropTypes.string | Set `fontFamily` value | |
914-
| textSize | PropTypes.string | Set `fontSize` value | |
915-
| textAlign | PropTypes.string | Set `textAlign` value | |
916-
| bgColor | PropTypes.string | Set `backgroundColor` value | |
917-
| bgGradient | PropTypes.string | Set `backgroundImage` value | |
918-
| bgImage | PropTypes.string | Set `backgroundImage` value | |
919-
| bgSize | PropTypes.string | Set `backgroundSize` value | `cover` |
920-
| bgPosition | PropTypes.string | Set `backgroundPosition` value | `center center` |
921-
| bgRepeat | PropTypes.string | Set `backgroundRepeat` value | |
922-
| bgDarken | PropTypes.number | Float value from 0.0 to 1.0 specifying how much to darken the bgImage image | |
923-
| overflow | PropTypes.string | Set `overflow` value | |
924-
| height | PropTypes.string | Set `height` value | |
905+
| Name | PropType | Description | Default |
906+
| ------------ | -------------------------- | ---------------------------------------------------------------------------- | --------------- |
907+
| italic | PropTypes.boolean | Set `fontStyle` to `italic` | `false` |
908+
| bold | PropTypes.boolean | Set `fontWeight` to `bold` | `false` |
909+
| caps | PropTypes.boolean | Set `textTransform` to `uppercase` | `false` |
910+
| margin | PropTypes.number or string | Set `margin` value | |
911+
| padding | PropTypes.number or string | Set `padding` value | |
912+
| textColor | PropTypes.string | Set `color` value | |
913+
| textFont | PropTypes.string | Set `fontFamily` value | |
914+
| textSize | PropTypes.string | Set `fontSize` value | |
915+
| textAlign | PropTypes.string | Set `textAlign` value | |
916+
| bgColor | PropTypes.string | Set `backgroundColor` value | |
917+
| bgGradient | PropTypes.string | Set `backgroundImage` value | |
918+
| bgImage | PropTypes.string | Set `backgroundImage` value | |
919+
| bgImageStyle | PropTypes.string | Set backgroundImage css property value directly | |
920+
| bgSize | PropTypes.string | Set `backgroundSize` value | `cover` |
921+
| bgPosition | PropTypes.string | Set `backgroundPosition` value | `center center` |
922+
| bgRepeat | PropTypes.string | Set `backgroundRepeat` value | |
923+
| bgDarken | PropTypes.number | Float value from 0.0 to 1.0 specifying how much to darken the bgImage image | 0 |
924+
| bgLighten | PropTypes.number | Float value from 0.0 to 1.0 specifying how much to lighten the bgImage image | 0 |
925+
| overflow | PropTypes.string | Set `overflow` value | |
926+
| height | PropTypes.string | Set `height` value | |
925927
926928
_NOTE: When using `bgImage` prop for local images, you must import the file for it to render properly._
927929

0 commit comments

Comments
 (0)