-
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
Toast Service: Convert Toast to internal functional component and allow render function instead of description string #5477
Conversation
…nt and allow render function instead of description string
…-description-in-toasterservice * 'develop' of github.com:public-ui/kolibri: (22 commits) chore: update deps fix: this commit makes the label optional for label Remove stray bracket... Fix tests Update snapshots Add missing text decoration zoll-v3: Adjust pagination zoll-v2: Adjust pagination mapz: Adjust pagination mapz: Add css tags ITZBund: Adjust pagination ITZBund: Add css tags ECL EU: Adjust pagination ECL EC: Add css tags ECL: Add css tags Pagination: Adjust bzst theme bzst: Add css tags Pagination: Adjust default theme Pagination: Adjust default and BMF styles Add classnames to button component ...
onClose: () => void; | ||
key: string; | ||
}; | ||
export const ToastFC = ({ toastState, onClose, key }: Props) => { |
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.
Empfehlung: InternalToast
- Das Kol
wird uns von der WebComponent-Spezifikation vorgegeben. Internal
-wäre für alle glasklar, wenn Sie so was importieren, dass das keine gute Idee wäre.
…442-help-description-in-toasterservice
description: `Toasty`, | ||
render: (element: HTMLElement, { close }) => { | ||
getRoot(element).render( | ||
<> |
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.
FYI: @Chrisdo82
No description provided.