import React from 'react';
import Typography from '@mui/material/Typography';
import { getCardinalityMessage } from './helpers';
import { useStyles } from './styles';
export var CardinalityMessage = function (_a) {
    var cardinality = _a.cardinality;
    var styles = useStyles();
    var cardinalityMessage = getCardinalityMessage(cardinality);
    return cardinalityMessage ? (React.createElement(Typography, { variant: "caption", className: styles.caption }, cardinalityMessage)) : null;
};
