import styled from "styled-components"; import React from "react"; import { HeaderProps } from "./types"; import { FontWeight, Text, TextType } from "design-system"; export const HeaderContainer = styled.div` width: 496px; text-align: center; height: 120px; padding: 32px; & .header-heading-container { & .cs-text { font-size: 32px; line-height: 38px; } } & .header-subHeadings-container { & .header-subHeading-container { & .cs-text { font-size: 16px; } } } `; export function HeaderComponent(props: HeaderProps) { const subHeadings = props.subHeadings?.map((sub: string, index: number) => (