import styled from 'styled-components'; import React, { PropsWithChildren } from 'react'; import Heading from 'components/common/heading/Heading.styled'; interface Props { text: string; className?: string; } const PageHeading: React.FC> = ({ text, className, children, }) => { return (
{text}
{children}
); }; export default styled(PageHeading)` display: flex; justify-content: space-between; align-items: center; padding: 16px; & > div { display: flex; gap: 16px; } `;