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

opportunity to override icons in info boxes #35

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

Jaanesen
Copy link
Contributor

Describe your changes

Lagt til mulighet for egendefinerte ikoner i infobox og alertmessage.
På denne måten kan også størrelse, farge og rotasjon på ikonet endres.

Overskrives ved å legge til i argumenter, som for eksempel:

<MdAlertMessage label='Feilmeldinger' theme='error' customIcon={<MdCloseIcon width={20} height={20} color='white' />} />

Checklist before requesting a review

  • I have performed a self-review and test of my code
  • If new component: Is story for component created in stories-folder?
  • If new component: Is tsx-file import added to packages/react/index.tsx?
  • If new component: Is css-file added to packages/css/index.css?

@Jaanesen Jaanesen requested a review from a team November 13, 2023 15:29
Copy link
Contributor

@ohp-inmeta ohp-inmeta left a comment

Choose a reason for hiding this comment

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

💯

@Jaanesen Jaanesen merged commit 13631dc into main Nov 14, 2023
@Jaanesen Jaanesen deleted the custom-icons-info-boxes branch November 14, 2023 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants