Success message
<p class="cads-success-message" aria-live="polite">Thank you for your feedback</p>
<%= render(CitizensAdviceComponents::SuccessMessage.new(message: "Thank you for your feedback")) %>
Using with Rails
If you are using the citizens_advice_components
gem, you can call the component from within a template using:
<%= render(CitizensAdviceComponents::SuccessMessage.new(message: "Thank you for your feedback")) %>
Component arguments
Argument | Description |
---|---|
Argument
message
|
Description Required. Message string |
Questions and contributions
All design system discussions take place in the #design-system Slack channel. For current issues, roadmap and other info see the Github project board and related issues.