Style cleanup for channels panel
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { interactive, Interactive } from "./interactive"
|
||||
import { toggleable } from "./toggle"
|
||||
import { toggleable, Toggleable } from "./toggle"
|
||||
|
||||
export { interactive, Interactive, toggleable }
|
||||
export { interactive, Interactive, toggleable, Toggleable }
|
||||
|
||||
@@ -3,7 +3,7 @@ import { DeepPartial } from "utility-types"
|
||||
|
||||
type ToggleState = "inactive" | "active"
|
||||
|
||||
type Toggleable<T> = Record<ToggleState, T>
|
||||
export type Toggleable<T> = Record<ToggleState, T>
|
||||
|
||||
export const NO_INACTIVE_OR_BASE_ERROR =
|
||||
"A toggleable object must have an inactive state, or a base property."
|
||||
|
||||
Reference in New Issue
Block a user