9 lines
329 B
TypeScript
9 lines
329 B
TypeScript
// Copyright 2017-2024 @polkadot/react-hooks authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import React from 'react';
|
|
|
|
type SetStateContext = undefined | (([address, onUpdateName]: [string | null, (() => void) | null]) => void);
|
|
|
|
export const AccountSidebarCtx = React.createContext<SetStateContext>(undefined);
|