diff --git a/components/button/utils.tsx b/components/button/utils.tsx index 94d7ed1..9df5c29 100644 --- a/components/button/utils.tsx +++ b/components/button/utils.tsx @@ -11,7 +11,7 @@ export const getButtonChildrenWithIcon = ( icons: { icon?: React.ReactNode iconRight?: React.ReactNode - } = {}, + }, ) => { const { icon, iconRight } = icons const hasIcon = icon || iconRight diff --git a/components/toast/__tests__/__snapshots__/index.test.tsx.snap b/components/toast/__tests__/__snapshots__/index.test.tsx.snap index 1ee999c..5f217c9 100644 --- a/components/toast/__tests__/__snapshots__/index.test.tsx.snap +++ b/components/toast/__tests__/__snapshots__/index.test.tsx.snap @@ -135,13 +135,13 @@ exports[`UseToast should render different actions 1`] = ` border: 0; border-radius: 5px; padding: 16pt; - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12); position: absolute; bottom: 0; right: 0; - opacity: 0; + opacity: 1; + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12); transform: translate3d(0, 100%, 0px) scale(1); - transition: all 400ms ease; + transition: transform 400ms ease 0ms, visibility 200ms ease 0ms, opacity 200ms ease 0ms; } .toast.visible { @@ -193,7 +193,7 @@ exports[`UseToast should render different actions 1`] = ` `; exports[`UseToast should work with different types 1`] = ` -"