ShareModal.jsx 926 Bytes
Newer Older
1 2 3 4
import React from 'react';

const ShareModal = props => {
    return (
Zac Wood's avatar
Zac Wood committed
5 6 7 8 9 10 11
        <div
            className="modal fade"
            id="shareModal"
            tabindex="-1"
            role="dialog"
            aria-labelledby="shareModalLabel"
            aria-hidden="true">
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
            <div className="modal-dialog" role="document">
                <div className="modal-content">
                    <div className="modal-header">
                        <h5 className="modal-title">Share your schedule!</h5>
                    </div>
                    <div className="modal-body">
                        The following link contains a copy of your schedule: <br />
                        <a id="shareLink" href={props.link}>
                            {props.link}
                        </a>
                    </div>
                </div>
            </div>
        </div>
    );
};

export default ShareModal;