-
Notifications
You must be signed in to change notification settings - Fork 30
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
Tom/info component #344
Tom/info component #344
Conversation
# Conflicts: # src/componentLibrary/theme/theme.kintsugi.css # src/componentLibrary/theme/theme.ts
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Running Lighthouse audit... |
Deployment failed with the following error:
|
This reverts commit 52815ee.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tomjeatt, very nice and simple solution :) Left just a little comment there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This PR adds an info box component. This uses the primary CTA to avoid creating an outline CTA variant (discussed this with Jay and he didn't want to introduce the additional variant).
This component renders at full width; when used, it will be constrained and positioned by the parent element. A CTA will be rendered if a
ctaOnClick
prop is passed.