mirror of
https://github.com/zhigang1992/react.git
synced 2026-02-06 09:09:09 +08:00
fix(snippet): default toast type as normal type
This commit is contained in:
@@ -23,7 +23,7 @@ const defaultProps = {
|
||||
filled: false,
|
||||
symbol: '$',
|
||||
toastText: 'Copied to clipboard!',
|
||||
toastType: 'success',
|
||||
toastType: 'success' as NormalTypes,
|
||||
width: 'initial',
|
||||
copy: 'default' as CopyTypes,
|
||||
type: 'default' as SnippetTypes,
|
||||
|
||||
Reference in New Issue
Block a user