mirror of https://github.com/sveltejs/svelte
parent
71b03fc1c5
commit
baf1dd1e7f
@ -1,7 +1,8 @@
|
||||
<script>
|
||||
let props = $props()
|
||||
let props = $props();
|
||||
</script>
|
||||
|
||||
<h1>toolbar</h1>
|
||||
<pre>
|
||||
{JSON.stringify(props,null,2)}
|
||||
{JSON.stringify(props, null, 2)}
|
||||
</pre>
|
||||
|
@ -1,3 +1,3 @@
|
||||
export {default as ToolBar} from './ToolBar.svelte'
|
||||
export * from './configure.js'
|
||||
export {mountUI as default} from './runtime.js'
|
||||
export { default as ToolBar } from './ToolBar.svelte';
|
||||
export * from './configure.js';
|
||||
export { mountUI as default } from './runtime.js';
|
||||
|
@ -1,5 +1,14 @@
|
||||
export * from './index.js'
|
||||
export * from './index.js';
|
||||
|
||||
export interface Tool {
|
||||
name: string;
|
||||
icon: string; // url or svg
|
||||
activate();
|
||||
deactivate();
|
||||
keyCombo?: string;
|
||||
disabled?: boolean;
|
||||
}
|
||||
export interface Config {
|
||||
position: 'top'|'bottom'
|
||||
position?: 'top' | 'bottom';
|
||||
tools?: Tool[];
|
||||
}
|
||||
|
Loading…
Reference in new issue