Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFarmer committed May 20, 2024
1 parent 805b98d commit 92a8ae2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions src/controls/NumericControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ import { InputNumber } from "../antd/InputNumber"
import { ControlUISchema } from "../ui-schema"
import { withJsonFormsControlProps } from "@jsonforms/react"

type NumericControlProps = ControlProps & RendererProps & {
uischema: ControlUISchema<unknown> | ControlElement
}
type NumericControlProps = ControlProps &
RendererProps & {
uischema: ControlUISchema<unknown> | ControlElement
}

export const NumericControl = (props: NumericControlProps) => {
if (!props.visible) return null
Expand Down
7 changes: 4 additions & 3 deletions src/controls/NumericSliderControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import { Slider } from "../antd/Slider"
import { ControlUISchema } from "../ui-schema"
import { withJsonFormsControlProps } from "@jsonforms/react"

type NumericSliderControlProps = RendererProps & ControlProps & {
uischema: ControlUISchema<unknown> | ControlElement
}
type NumericSliderControlProps = RendererProps &
ControlProps & {
uischema: ControlUISchema<unknown> | ControlElement
}

export const NumericSliderControl = (props: NumericSliderControlProps) => {
if (!props.visible) return null
Expand Down
1 change: 0 additions & 1 deletion src/controls/ObjectArrayControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { ArrayControlOptions, ControlUISchema } from "../ui-schema"
import { usePreviousValue } from "../common/usePreviousValue"
import React from "react"


type ArrayLayoutProps = JSFArrayLayoutProps & {
uischema: ControlUISchema<unknown> | ControlElement
}
Expand Down

0 comments on commit 92a8ae2

Please sign in to comment.