import * as React from "react";

interface IProps {
    heading: string;
    subHeading: string;
}

export class Testimonial extends React.Component<IProps> {
  public render(): JSX.Element {
    return (
        <div className="testminal_section afclr">
            <div className="container">
                <div className="heading">
                    <h2>{this.props.heading}</h2>
                </div>
                <div className="heading">
                    <h1>{this.props.subHeading}</h1>
                </div>
                {this.props.children}
                <div className="swiper-pagination swiper-pagination2"/>
            </div>
        </div>
          );
  }
}
