style: auto format whole project

This commit is contained in:
Ali BARIN
2022-11-05 23:57:33 +01:00
parent e338770e57
commit 475f24f661
199 changed files with 2421 additions and 1839 deletions

View File

@@ -21,17 +21,13 @@ type RawOption = {
value: string;
};
const optionGenerator = (options: RawOption[]): IFieldDropdownOption[] => options?.map(({ name, value }) => ({ label: name as string, value: value }));
const optionGenerator = (options: RawOption[]): IFieldDropdownOption[] =>
options?.map(({ name, value }) => ({ label: name as string, value: value }));
export default function InputCreator(props: InputCreatorProps): React.ReactElement {
const {
onChange,
onBlur,
schema,
namePrefix,
stepId,
disabled,
} = props;
export default function InputCreator(
props: InputCreatorProps
): React.ReactElement {
const { onChange, onBlur, schema, namePrefix, stepId, disabled } = props;
const {
key: name,
@@ -101,5 +97,5 @@ export default function InputCreator(props: InputCreatorProps): React.ReactEleme
);
}
return (<React.Fragment />)
};
return <React.Fragment />;
}