RichTextAreaComponent
import Example from ‘../../src/@primer/gatsby-theme-doctocat/components/example’ import RequiresJSFlash from ‘../../src/@primer/gatsby-theme-doctocat/components/requires-js-flash’
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 |
---|---|---|---|
name |
Symbol |
N/A | Identifies the form/param name for this rich text area. |
sr_label |
String |
N/A | A label to introduce these tabs for screen readers. |
has_form |
Boolean |
true |
Indicates whether this component is wrapped in a form. |
classes |
String |
"" |
Classes and attributes |
attributes |
Hash |
{} |
Classes and attributes |
Examples
Default
<%= render(Ariadne::RichTextAreaComponent.new(name: "bodytext", sr_label: "Enter message contents")) { "Example" } %>
Have questions?
Still have questions? Talk to support.