Skip to content

Commit d768271

Browse files
committed
npm run cs-format
1 parent 6550c52 commit d768271

File tree

23 files changed

+34
-34
lines changed

23 files changed

+34
-34
lines changed

packages/primereact/src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ import {
1010
export default function ArrayFieldItemTemplate<
1111
T = any,
1212
S extends StrictRJSFSchema = RJSFSchema,
13-
F extends FormContextType = any
13+
F extends FormContextType = any,
1414
>(props: ArrayFieldItemTemplateType<T, S, F>) {
1515
const { children, buttonsProps, hasToolbar, uiSchema, registry } = props;
1616
const uiOptions = getUiOptions<T, S, F>(uiSchema);
1717
const ArrayFieldItemButtonsTemplate = getTemplate<'ArrayFieldItemButtonsTemplate', T, S, F>(
1818
'ArrayFieldItemButtonsTemplate',
1919
registry,
20-
uiOptions
20+
uiOptions,
2121
);
2222
return (
2323
<div style={{ position: 'relative' }}>

packages/primereact/src/ArrayFieldTitleTemplate/ArrayFieldTitleTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ArrayFieldTitleProps, FormContextType, getUiOptions, RJSFSchema, Strict
33
export default function ArrayFieldTitleTemplate<
44
T = any,
55
S extends StrictRJSFSchema = RJSFSchema,
6-
F extends FormContextType = any
6+
F extends FormContextType = any,
77
>({ title, uiSchema, required }: ArrayFieldTitleProps<T, S, F>) {
88
const uiOptions = getUiOptions<T, S, F>(uiSchema);
99
return (

packages/primereact/src/AutoCompleteWidget/AutoCompleteWidget.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { AutoComplete, AutoCompleteCompleteEvent } from 'primereact/autocomplete
1212
export default function AutoCompleteWidget<
1313
T = any,
1414
S extends StrictRJSFSchema = RJSFSchema,
15-
F extends FormContextType = any
15+
F extends FormContextType = any,
1616
>(props: WidgetProps<T, S, F>) {
1717
const {
1818
id,
@@ -41,7 +41,7 @@ export default function AutoCompleteWidget<
4141
const examples = (schema.examples as string[]).concat(
4242
schema.default && !(schema.examples as string[]).includes(schema.default.toString())
4343
? [schema.default.toString()]
44-
: []
44+
: [],
4545
);
4646

4747
const [items, setItems] = useState<string[]>([]);

packages/primereact/src/BaseInputTemplate/BaseInputTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { InputText } from 'primereact/inputtext';
1515
export default function BaseInputTemplate<
1616
T = any,
1717
S extends StrictRJSFSchema = RJSFSchema,
18-
F extends FormContextType = any
18+
F extends FormContextType = any,
1919
>(props: BaseInputTemplateProps<T, S, F>) {
2020
const {
2121
id,

packages/primereact/src/CheckboxWidget/CheckboxWidget.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { Label } from '../util';
2121
export default function CheckboxWidget<
2222
T = any,
2323
S extends StrictRJSFSchema = RJSFSchema,
24-
F extends FormContextType = any
24+
F extends FormContextType = any,
2525
>(props: WidgetProps<T, S, F>) {
2626
const {
2727
id,
@@ -43,7 +43,7 @@ export default function CheckboxWidget<
4343
const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(
4444
'DescriptionFieldTemplate',
4545
registry,
46-
options
46+
options,
4747
);
4848

4949
const required = schemaRequiresTrueValue<S>(schema);

packages/primereact/src/CheckboxesWidget/CheckboxesWidget.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { Label } from '../util';
2323
export default function CheckboxesWidget<
2424
T = any,
2525
S extends StrictRJSFSchema = RJSFSchema,
26-
F extends FormContextType = any
26+
F extends FormContextType = any,
2727
>(props: WidgetProps<T, S, F>) {
2828
const {
2929
id,
@@ -55,7 +55,7 @@ export default function CheckboxesWidget<
5555
const DescriptionFieldTemplate = getTemplate<'DescriptionFieldTemplate', T, S, F>(
5656
'DescriptionFieldTemplate',
5757
registry,
58-
options
58+
options,
5959
);
6060

6161
const _onBlur = () => onBlur(id, value);

packages/primereact/src/ColorWidget/ColorWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
import { ColorPicker } from 'primereact/colorpicker';
1111

1212
export default function ColorWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(
13-
props: WidgetProps<T, S, F>
13+
props: WidgetProps<T, S, F>,
1414
) {
1515
const {
1616
id,

packages/primereact/src/DescriptionField/DescriptionField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { DescriptionFieldProps, FormContextType, RJSFSchema, StrictRJSFSchema }
77
export default function DescriptionField<
88
T = any,
99
S extends StrictRJSFSchema = RJSFSchema,
10-
F extends FormContextType = any
10+
F extends FormContextType = any,
1111
>(props: DescriptionFieldProps<T, S, F>) {
1212
const { id, description } = props;
1313
if (!description) {

packages/primereact/src/FieldErrorTemplate/FieldErrorTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Message } from 'primereact/message';
88
export default function FieldErrorTemplate<
99
T = any,
1010
S extends StrictRJSFSchema = RJSFSchema,
11-
F extends FormContextType = any
11+
F extends FormContextType = any,
1212
>({ errors, idSchema }: FieldErrorProps<T, S, F>) {
1313
if (errors && errors.length > 0) {
1414
const id = errorId<T>(idSchema);

packages/primereact/src/FieldHelpTemplate/FieldHelpTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { FieldHelpProps, FormContextType, RJSFSchema, StrictRJSFSchema, helpId }
77
export default function FieldHelpTemplate<
88
T = any,
99
S extends StrictRJSFSchema = RJSFSchema,
10-
F extends FormContextType = any
10+
F extends FormContextType = any,
1111
>(props: FieldHelpProps<T, S, F>) {
1212
const { idSchema, help } = props;
1313
if (help) {

0 commit comments

Comments
 (0)