Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Can now pass an arbitrary block to the inset-text component to have content rendered inset. If both 'text' and a block are provided, 'text' takes precedence (mutually exclusive). This is a compromise solution, rather than copying the inset-prompt component from content-publisher (for use in collections-publisher), for the reason that under current GOV.UK architecture the component CSS would be added to the stylesheets for our end users (not just the users using the publishing app). See: #1077 Once merged, we will use this latest inset-text component and manually recreate what the inset-prompt component looks like by passing components to the inset-text component as a block. Trello: https://trello.com/c/TcBpLRuC/48-add-inset-prompt-component-to-govukpublishingcomponents
- Loading branch information