import { jsx as _jsx } from "react/jsx-runtime";
import { Message, Wrapper } from './styles';
export const FormHelperTextContent = ({ success, error, children, }) => {
    if (children) {
        return (_jsx(Wrapper, { error: error, success: success, children: _jsx(Message, { children: children }) }));
    }
    return null;
};
