SaveButton

Save Buttons allow for saving information held in a save container.

Screenshot of component SaveButton SaveButton

Usage

Place the SaveButton inside a SaveContainer along with other components.

When other components (buttons, sliders, checkboxes etc) are manipulated by the user, the value is held until the SaveButton is used.

import { SaveContainer } from '@electricui/components-core'
import { Button, SaveButton } from '@electricui/components-desktop-blueprint'
<SaveContainer>
<Button
writer={state => {
state.bright = 255
}}
>
Set brightness to 255
</Button>
<SaveButton>Save</SaveButton>
</SaveContainer>

The SaveButton accepts the same cosmetic props as a regular Button.

Also like a button, using the boolean prop noAck allows for automatic acknowledgement to be disabled.