Merged PR 227: Refactor Properties in ContainerProperties

Commit 927934a5: Refactor Style inputs to replace React.CSSProperties by IStyle
This commit is contained in:
Eric Nguyen 2022-11-08 09:09:17 +00:00
parent 6ee4eb2986
commit 1116185b9f
11 changed files with 122 additions and 61 deletions

View file

@ -13,6 +13,7 @@ interface IInputGroupProps {
defaultChecked?: boolean
min?: number
max?: number
step?: number
isDisabled?: boolean
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void
}
@ -39,6 +40,7 @@ export function InputGroup(props: IInputGroupProps): JSX.Element {
onChange={props.onChange}
min={props.min}
max={props.max}
step={props.step}
disabled={props.isDisabled} />
</>;
}