Merged PR 308: #8224/#7571 Margins cotation and Colors

Related work items: #8224
This commit is contained in:
Carl Fuchs 2023-01-30 14:59:55 +00:00
parent 4e8f465405
commit a7feebdcd1
18 changed files with 425 additions and 150 deletions

View file

@ -8,6 +8,7 @@ interface IPositionCheckboxesProps {
name: string
labelText: string
value: Position[]
attribute: string
onChange: (key: string, value: number[]) => void
}
@ -16,6 +17,7 @@ export function PositionCheckboxes({
name,
labelText,
value,
attribute,
onChange
}: IPositionCheckboxesProps): JSX.Element {
return <CheckboxGroupButtons
@ -64,7 +66,7 @@ export function PositionCheckboxes({
}
]}
onChange={(newSelectedValues) => {
onChange(id, newSelectedValues);
onChange(attribute, newSelectedValues);
}}
/>;
}