Last active
November 30, 2021 14:42
-
-
Save AmirTugi/38d2703641ca2d7c66c0d1bcc86aa015 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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