import type { FC, ReactNode } from 'react'; import styled from 'styled-components'; const Span = styled.span` margin-bottom: 18px; font-size: 0.85rem; `; type TextProps = { value: any; children: ReactNode; }; export default (function Text({ value, ...props }: TextProps) { return {value || props.children}; } as FC);