-
Notifications
You must be signed in to change notification settings - Fork 0
PUIMutableBinaryStatus
Elijah Cobb edited this page May 13, 2021
·
3 revisions
This component allows the user to change a boolean state variable.
import {PUIMutableBinaryStatus} from "./pstdl-ui";
import {ReactElement, useState} from "react";
export function TestBed(): ReactElement {
const [isOn, setIsOn] = useState(true);
return <div className={"TestBed"}>
<PUIMutableBinaryStatus
value={isOn}
setValue={setIsOn}
label={"Front Lights"}
/>
</div>
}
Created by Elijah Cobb at the Planetary Surface Technology Development Lab located at Michigan Technological University
- PUIGage
- PUIImmutableBinaryStatus
- PUIImmutableNumericStatus
- PUILog
- PUIMutableBinaryStatus
- PUIMutableNumericStatus
- PUIPicker
- PUISegmentedPicker
- PUIAlert
- PUIToast
- PUICard
- PUITopBar
- PUIAppController
- PUIKeyboardController
- PUIGamepadController
- PUIHookAlert
- PUIHookLog
- PUIHookState
- PUIHookToast
- PUIApp
- PUIColor
- PUIContext