Files
web2.0-frontend/src/components/InfoBox.tsx
T
2022-07-25 00:07:27 +03:00

20 lines
322 B
TypeScript

import React from "react";
import styled from "styled-components";
const Box = styled.div`
justify-content: flex-end;
text-align: center;
`;
type InfoBoxProps = {
children?: React.ReactNode
};
const InfoBox: React.FC<InfoBoxProps> = ({ children }) => (
<Box>
{children}
</Box>
);
export default InfoBox;