Ariadne

ContainerComponent

import Example from ‘../../src/@primer/gatsby-theme-doctocat/components/example’

The container wraps the majority, if not all, of the content on a page.

Arguments

Name Type Default Description
classes String "" Classes and attributes
attributes Hash {} Classes and attributes

Examples

Default

<%= render(Ariadne::ContainerComponent.new) do |container| %>
  <%= render(Ariadne::ButtonComponent.new) { "Click me!" } %>
<% end %>

Have questions?

Still have questions? Talk to support.