Nextjs Core Timeline
-Pro Component
We’ve created this component especially for Timeline Page.
Style
You will find the styles for this component in
assets/jss/nextjs-material-dashboard-pro/components/timelineStyle.js.
.
Example
-
card_travelSome Title
Wifey made the best Father's Day meal ever. So thankful so happy so blessed. Thank you for making my family We just had fun with the “future” theme !!! It was a fun night all together ... The always rude Kanye Show at 2am Sold Out Famous viewing @ Figueroa and 12th in downtown.
11 hours ago via Twitter
Props
Name | Type | Default | Description |
---|---|---|---|
stories
|
Array of Objects | undefined |
With this prop the Timeline component will be
populated.
|
stories[n].inverted
|
Boolean | false | This will make the story inverted. |
stories[n].badgeIcon
|
Function | null | Add an icon to the story. |
stories[n].badgeColor
|
String | undefined | Add a color to the icon. |
stories[n].title
|
String/Node | null | The title of the story. |
stories[n].titleColor
|
String | undefined | Color of the title. |
stories[n].body
|
String/Node | undefined | Body text of the story. |
stories[n].footerTitle
|
String/Node | null | Text for the footer of the story. |
stories[n].footer
|
Node | undefined | Node to add as a footer. |