NarrowContainerComponent
import Example from ‘../../src/@primer/gatsby-theme-doctocat/components/example’
Add a general description of component here Add additional usage considerations or best practices that may aid the user to use the component correctly.
Accessibility
Add any accessibility considerations
Arguments
Name | Type | Default | Description |
---|---|---|---|
classes |
String |
"" |
Classes and attributes |
attributes |
Hash |
{} |
Classes and attributes |
Examples
Default
<%= render(Ariadne::NarrowContainerComponent.new) do |container| %>
<%= render(Ariadne::ButtonComponent.new) { "Click me!" } %>
<% end %>
Have questions?
Still have questions? Talk to support.