React-SaaS-sample/src/components/ChangePassSection/index.js
Ruidy Nemausat fee97cf1fd First
2019-10-20 11:24:18 +02:00

23 lines
605 B
JavaScript

import React from "react";
import Section from "./../Section";
import SectionHeader from "./../SectionHeader";
import ChangePass from "./../ChangePass";
import "./styles.scss";
function ChangePassSection(props) {
return (
<Section color={props.color} size={props.size}>
<div className="container">
<SectionHeader
title={props.title}
subtitle={props.subtitle}
centered={true}
size={3}
/>
<ChangePass buttonText={props.buttonText} parentColor={props.color} />
</div>
</Section>
);
}
export default ChangePassSection;