Created Result test

This commit is contained in:
Alejandro Celaya
2020-12-21 18:14:11 +01:00
parent 344f5e9b0d
commit 94d2f3167b
2 changed files with 50 additions and 2 deletions

View File

@@ -3,8 +3,10 @@ import { Row } from 'reactstrap';
import classNames from 'classnames';
import { SimpleCard } from './SimpleCard';
interface ResultProps {
type: 'success' | 'error' | 'warning';
export type ResultType = 'success' | 'error' | 'warning';
export interface ResultProps {
type: ResultType;
className?: string;
small?: boolean;
}