You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ ReactJS based Presentation Library
40
40
-[CodePane (Base)](#codepane-base)
41
41
-[Code (Base)](#code-base)
42
42
-[ComponentPlayground](#component-playground)
43
+
-[GoToAction (Base)](#go-to-action)
43
44
-[Heading (Base)](#heading-base)
44
45
-[Image (Base)](#image-base)
45
46
-[Link (Base)](#link-base)
@@ -523,6 +524,34 @@ class View extends React.Component {
523
524
render(<View />);
524
525
```
525
526
527
+
<aname="go-to-action"></a>
528
+
#### Go To Action (Base)
529
+
530
+
The GoToAction tag lets you jump to another slide in your deck. The GoToAction can be used a simple button that supports `Base` styling or accept a render prop with a callback to support custom components.
531
+
532
+
|Name|PropType|Description|
533
+
|---|---|---|
534
+
|slide|PropTypes.string or PropTypes.number|The string identifier or number of the side the button should jump to. Slide numbers start at `1`. This is only used in the simple button configuration.
535
+
|render|PropTypes.func|A function with a `goToSlide` param that should return a React element to render. This is only used in the custom component configuration.
0 commit comments