TimelineComponent
import Example from ‘../../src/@primer/gatsby-theme-doctocat/components/example’
Represents a linear timeline of events. Typically, this is shown as part of the Conversation component.
Arguments
Name | Type | Default | Description |
---|---|---|---|
tag |
Symbol, String |
:div |
The rendered tag name |
classes |
String |
"" |
Classes and attributes |
attributes |
Hash |
{} |
Classes and attributes |
Slots
Items
The sub-items(s) to render
Examples
Default
<%= render(Ariadne::TimelineComponent.new) { "Example" } %>
Have questions?
Still have questions? Talk to support.