Update EditChannel panel, Attributes (#1735)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2022-05-13 13:41:30 +07:00
committed by GitHub
parent e91c5d073a
commit 5fea32fd6f
23 changed files with 564 additions and 260 deletions
@@ -27,6 +27,8 @@
export let onChange: (value: any) => void
export let kind: ButtonKind = 'no-border'
export let size: ButtonSize = 'small'
export let width: string = 'min-content'
export let justify: 'left' | 'center' = 'center'
let state: State
let opened: boolean = false
@@ -43,9 +45,10 @@
</script>
<Button
width="min-content"
{kind}
{size}
{width}
{justify}
on:click={(ev) => {
if (!opened) {
opened = true