Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the inset text component #9

Merged
merged 1 commit into from
May 12, 2020
Merged

Add the inset text component #9

merged 1 commit into from
May 12, 2020

Conversation

peteryates
Copy link
Member

As this is an incredibly simple component it probably doesn't need an accompanying template, the inline rendering of inset text requires only a single line of Ruby.

Thoughts on this approach? Is it worth taking the longer template approach for consistency or for the simpler ones is this more straightforward?

As this is an incredibly simple component it doesn't need an
accompanying template and is rendered inline via #call

https://design-system.service.gov.uk/components/inset-text/
Copy link
Contributor

@rjlynch rjlynch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I think the simpler approach is better here

@peteryates peteryates merged commit 93f4d5a into master May 12, 2020
@peteryates peteryates deleted the inset-text-component branch May 12, 2020 10:12
@peteryates peteryates mentioned this pull request May 18, 2020
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants