Skip to content

Commit

Permalink
remove radius from input forms
Browse files Browse the repository at this point in the history
  • Loading branch information
dphuang2 committed Sep 29, 2023
1 parent b47c867 commit cfb5efd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions generator/konfig-next-app/src/components/ParameterInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export function ParameterInput({
else onChange(file)
}}
{...rest}
radius="xs"
clearable
placeholder="File"
icon={<IconUpload size={rem(14)} />}
Expand All @@ -65,7 +64,6 @@ export function ParameterInput({
<Input.Wrapper {...inputProps}>
<Button
mb="calc(0.625rem / 2);" // taken from Input.Wrapper source code
radius="xs"
size="xs"
leftIcon={<IconPlus size={'1rem'} />}
onClick={() => {
Expand Down Expand Up @@ -128,7 +126,6 @@ export function ParameterInput({
return (
<NumberInput
{...inputProps}
radius="xs"
placeholder={example(parameter.schema.example)}
/>
)
Expand All @@ -147,7 +144,6 @@ export function ParameterInput({
return onChange(value === null ? '' : value)
}}
clearable={!parameter.required}
radius="xs"
data={parameter.schema.enum}
/>
)
Expand All @@ -156,7 +152,6 @@ export function ParameterInput({
return (
<NumberInput
{...inputProps}
radius="xs"
precision={2}
placeholder={example(parameter.schema.example)}
/>
Expand All @@ -170,7 +165,6 @@ export function ParameterInput({
return (
<DatePickerInput
icon={<IconCalendar size="1.1rem" stroke={1.5} />}
radius="xs"
clearable
value={parseDateString(value)}
onChange={(date) => {
Expand All @@ -195,7 +189,6 @@ export function ParameterInput({
return (
<DateTimePicker
icon={<IconCalendar size="1.1rem" stroke={1.5} />}
radius="xs"
clearable
value={parseDateString(value)}
onChange={(date) => {
Expand Down Expand Up @@ -256,7 +249,6 @@ export function ParameterInput({
// between using a controlled or uncontrolled input element for the lifetime of
// the component. More info: https://reactjs.org/link/controlled-components"
value={value ?? ''}
radius="xs"
placeholder={example(parameter.schema.example)}
/>
)
Expand Down

0 comments on commit cfb5efd

Please sign in to comment.