20 lines
322 B
TypeScript
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;
|