Merged PR 308: #8224/#7571 Margins cotation and Colors
Related work items: #8224
This commit is contained in:
parent
4e8f465405
commit
a7feebdcd1
18 changed files with 425 additions and 150 deletions
|
@ -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);
|
||||
}}
|
||||
/>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue