mirror of
https://github.com/status-im/consul.git
synced 2025-01-19 02:03:00 +00:00
9d21736e9f
* Add copyright headers to UI files * Ensure copywrite file ignores external libs
40 lines
560 B
JavaScript
40 lines
560 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
export default {
|
|
id: 'boolean',
|
|
initial: 'false',
|
|
states: {
|
|
true: {
|
|
on: {
|
|
TOGGLE: [
|
|
{
|
|
target: 'false',
|
|
},
|
|
],
|
|
FALSE: [
|
|
{
|
|
target: 'false',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
false: {
|
|
on: {
|
|
TOGGLE: [
|
|
{
|
|
target: 'true',
|
|
},
|
|
],
|
|
TRUE: [
|
|
{
|
|
target: 'true',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
},
|
|
};
|