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

Commit

Permalink
Merge pull request #581 from DouglasDev/bug/calloutSCSS
Browse files Browse the repository at this point in the history
fix(scss): callout & toaster styles not working
  • Loading branch information
fox1t authored Sep 8, 2020
2 parents 628efeb + 4d31700 commit 7cb8484
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@
/* Other CSS Imports */

@import '~react-toastify/dist/ReactToastify.min.css';

/* all scss files in src/components should be imported here */
@import "../src/components/Toaster/toaster.scss";
@import "../src/components/Callout/callout.scss";
1 change: 0 additions & 1 deletion src/components/Callout/Callout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import classNames from 'classnames'
import React, { CSSProperties } from 'react'

import { ColorVariant } from '../../interfaces'
import './callout.scss'

interface Props {
/**
Expand Down
1 change: 0 additions & 1 deletion src/components/Toaster/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { ToastContainer, toast, Slide } from 'react-toastify'

import { titleWithMessage, titleWithoutMessage } from './components'
import { ToastProps, ToasterProps } from './interfaces'
import './toaster.scss'

export const Toast: any = (
type: ToastProps['type'],
Expand Down

0 comments on commit 7cb8484

Please # to comment.