diff options
author | Determinant <ted.sybil@gmail.com> | 2019-02-15 23:02:30 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-02-15 23:02:30 -0500 |
commit | 8d9f2e9ccc54c17027c01d7fee8ac67c51044655 (patch) | |
tree | 7be4adfea67980ead1c139b4f719159a036fc40d /src/Snackbar.tsx | |
parent | a420162e3c679604ba06bfbb055b1e14fbb48b8e (diff) |
clean up code
Diffstat (limited to 'src/Snackbar.tsx')
-rw-r--r-- | src/Snackbar.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Snackbar.tsx b/src/Snackbar.tsx index 15ebb38..f700422 100644 --- a/src/Snackbar.tsx +++ b/src/Snackbar.tsx @@ -37,7 +37,7 @@ const styles = (theme: Theme) => ({ }, }); -export type Variant = 'error' | 'warning'; +export type SnackbarVariant = 'error' | 'warning'; function CustomSnackbar(props: { classes: { @@ -48,7 +48,7 @@ function CustomSnackbar(props: { iconVariant: string, close: string }, - variant: Variant, + variant: SnackbarVariant, className?: string, open: boolean, message: string, |