ScheduleBadge.tsx 504 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import * as React from 'react';
import { Row } from 'reactstrap';
import CourseSection from '../util/CourseSection';

interface ScheduleBadgeProps {
    schedule: CourseSection[];
}

const ScheduleBadge = ({ schedule }: ScheduleBadgeProps) => (
    <Row className="justify-content-end my-5 px-3">
        <span className="fa-stack fa-3x has-badge" data-count={schedule.length}>
            <i className="fa fas fa-shopping-bag fa-stack-1x" />
        </span>
    </Row>
);

export default ScheduleBadge;