A block of text that is inset.
First install the package into your project:
npm install -S @not-govuk/inset-text
Then use it in your code as follows:
import React, { createElement as h } from 'react';
import InsetText from '@not-govuk/inset-text';
export const MyComponent = props => (
<InsetText>
It can take up to 8 weeks to register a lasting power of attorney if there are no mistakes in the application.
</InsetText>
);
export default MyComponent;
Before working on this package you must install its dependencies using the following command:
pnpm install
npm test
npm run build
npm run clean