feat: add missing propTypes
This commit is contained in:
@@ -10,6 +10,7 @@ import CardContent from '@mui/material/CardContent';
|
||||
import Divider from '@mui/material/Divider';
|
||||
import Grid from '@mui/material/Grid';
|
||||
import Typography from '@mui/material/Typography';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import TrialOverAlert from 'components/TrialOverAlert/index.ee';
|
||||
import SubscriptionCancelledAlert from 'components/SubscriptionCancelledAlert/index.ee';
|
||||
@@ -54,6 +55,13 @@ function BillingCard(props) {
|
||||
);
|
||||
}
|
||||
|
||||
BillingCard.propTypes = {
|
||||
name: PropTypes.string.isRequired,
|
||||
title: PropTypes.string,
|
||||
action: PropTypes.string,
|
||||
text: PropTypes.string,
|
||||
};
|
||||
|
||||
function Action(props) {
|
||||
const { action, text } = props;
|
||||
|
||||
@@ -80,6 +88,11 @@ function Action(props) {
|
||||
);
|
||||
}
|
||||
|
||||
Action.propTypes = {
|
||||
action: PropTypes.string,
|
||||
text: PropTypes.string,
|
||||
};
|
||||
|
||||
export default function UsageDataInformation() {
|
||||
const formatMessage = useFormatMessage();
|
||||
const queryClient = useQueryClient();
|
||||
|
Reference in New Issue
Block a user