aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/NoticeTextSectionComponent.tsx
blob: 839d74480ca12244204aee3e363caa19c39f8ae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import * as React from "react";

export interface NoticeTextSelectionProps {
    text: string,
    idSuffix: string
}

export interface NoticeTextSelectionState {

}

class NoticeTextSelectionComponent extends React.Component<NoticeTextSelectionProps, NoticeTextSelectionState> {

    constructor(props: NoticeTextSelectionProps) {
        super(props);
    }

    render() {
        return (
            <p id={"sponsorTimesInfoMessage" + this.props.idSuffix}
                className="sponsorTimesInfoMessage">
                    {this.props.text}
            </p>
        );
    }
}

export default NoticeTextSelectionComponent;