You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
robotop.krasnikov.pro/.history/components/LoadingTeamsForm_2022070215...

39 lines
758 B

import { tr } from 'date-fns/locale';
import React from 'react';
console.log('dd');
type UserProps = {
team_name: string;
name_team_coach: string;
training_institution_team: string;
name_first_participant: string;
name_second_participant: string;
name_third_party: string;
classTeam: string;
};
export const LoadingTeamsForm : React.FC<UserProps> = ({
team_name,
name_team_coach,
training_institution_team,
name_first_participant,
name_second_participant,
name_third_party,
classTeam
}) => {
const flatten = (arr) => {
const arrOfNum = [];
arr.split(',').forEach(str => {
arrOfNum.push(Number(str));
});
return Math.min(...arrOfNum);
}
return (
<>dd</>
);
};
export default LoadingTeamsForm;