Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 7cb8484

Browse files
authored
Merge pull request #581 from DouglasDev/bug/calloutSCSS
fix(scss): callout & toaster styles not working
2 parents 628efeb + 4d31700 commit 7cb8484

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

scss/main.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@
99
/* Other CSS Imports */
1010

1111
@import '~react-toastify/dist/ReactToastify.min.css';
12+
13+
/* all scss files in src/components should be imported here */
14+
@import "../src/components/Toaster/toaster.scss";
15+
@import "../src/components/Callout/callout.scss";

src/components/Callout/Callout.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import classNames from 'classnames'
22
import React, { CSSProperties } from 'react'
33

44
import { ColorVariant } from '../../interfaces'
5-
import './callout.scss'
65

76
interface Props {
87
/**

src/components/Toaster/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { ToastContainer, toast, Slide } from 'react-toastify'
33

44
import { titleWithMessage, titleWithoutMessage } from './components'
55
import { ToastProps, ToasterProps } from './interfaces'
6-
import './toaster.scss'
76

87
export const Toast: any = (
98
type: ToastProps['type'],

0 commit comments

Comments
 (0)