mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update FormModal style
This commit is contained in:
parent
1b024214fe
commit
353aa6256f
1 changed files with 3 additions and 8 deletions
|
|
@ -44,7 +44,7 @@ export function FormModal(props: FormModalProps): JSX.Element {
|
|||
>
|
||||
{props.inputs?.map((input) => (
|
||||
<HStack key={input.name}>
|
||||
<StyledText style={'boldText'}>{input.label}</StyledText>
|
||||
<StyledText>{input.label}</StyledText>
|
||||
<FormInput
|
||||
key={input.name}
|
||||
type={input.type || 'text'}
|
||||
|
|
@ -57,15 +57,10 @@ export function FormModal(props: FormModalProps): JSX.Element {
|
|||
</HStack>
|
||||
))}
|
||||
<HStack distribution="center">
|
||||
<Button
|
||||
style="ctaPill"
|
||||
onClick={() => props.onOpenChange(false)}
|
||||
>
|
||||
<Button onClick={() => props.onOpenChange(false)}>
|
||||
Cancel
|
||||
</Button>
|
||||
<Button style="ctaPill">
|
||||
{props.acceptButtonLabel || 'Submit'}
|
||||
</Button>
|
||||
<Button>{props.acceptButtonLabel || 'Submit'}</Button>
|
||||
</HStack>
|
||||
</form>
|
||||
</Box>
|
||||
|
|
|
|||
Loading…
Reference in a new issue