//
// Copyright 2023 DXOS.org
//
import React from 'react';
import { PublicKey } from '@dxos/keys';
import { Toolbar } from '@dxos/react-ui';
import { withTheme } from '@dxos/react-ui/testing';
import { PublicKeySelector } from './PublicKeySelector';
const meta = {
    title: 'devtools/devtools/PublicKeySelector',
    component: PublicKeySelector,
    render: (args) => (React.createElement(Toolbar.Root, null,
        React.createElement(PublicKeySelector, { ...args }))),
    decorators: [withTheme],
};
export default meta;
export const Default = {
    args: {
        placeholder: 'Select key',
        keys: [PublicKey.random(), PublicKey.random()],
    },
};
//# sourceMappingURL=PublicKeySelector.stories.js.map