fix(ui): better node footer spacing

This commit is contained in:
psychedelicious
2024-01-06 08:43:55 +11:00
parent 6e06935e75
commit f51e8eeae1
3 changed files with 12 additions and 3 deletions

View File

@ -45,6 +45,7 @@ export const InvControl = memo(
orientation={orientation}
isDisabled={isDisabled}
{...formControlProps}
{...ctx.controlProps}
>
<Flex className="invcontrol-label-wrapper">
{label && (

View File

@ -1,9 +1,10 @@
import type { FormLabelProps } from '@chakra-ui/react';
import type { FormControlProps, FormLabelProps } from '@chakra-ui/react';
import type { PropsWithChildren } from 'react';
import { createContext, memo } from 'react';
export type InvControlGroupProps = {
labelProps?: FormLabelProps;
controlProps?: FormControlProps;
isDisabled?: boolean;
orientation?: 'horizontal' | 'vertical';
};