Skip to content

Instantly share code, notes, and snippets.

@AmirTugi
Last active November 30, 2021 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AmirTugi/38d2703641ca2d7c66c0d1bcc86aa015 to your computer and use it in GitHub Desktop.
Save AmirTugi/38d2703641ca2d7c66c0d1bcc86aa015 to your computer and use it in GitHub Desktop.
export const ToastTheme: ComponentMultiStyleConfig = {
parts: ['container', 'icon', 'action', 'content'],
type: { // 1. This is not supported by th `ComponentStyleConfig` type
info: { // 2. Who will handle the assigning to `theme.type[props.type]`?
container: {} // 3. Who will handle the `theme.type[props.type][part]`?
}
},
variants: {
default: {} // This is b
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment