Skip to content

Commit

Permalink
fix: Toastpositioner really wants a string for className
Browse files Browse the repository at this point in the history
  • Loading branch information
rhdeck authored and fkhadra committed Nov 6, 2020
1 parent 34e760c commit 03fbc0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ToastPositioner.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { ToastProps } from '../types';
type ToastPositionerProps = Pick<ToastProps, 'className' | 'style' | 'in'> & {
className: string;
type ToastPositionerProps = Pick<ToastProps, 'style' | 'in'> & {
className?: string;
};

export const ToastPositioner: React.FC<ToastPositionerProps> = ({
Expand Down

0 comments on commit 03fbc0f

Please sign in to comment.