-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Board: Add button shape and title props #1381
Conversation
Signed-off-by: Anna No <anna.no@xored.com>
@@ -24,14 +24,15 @@ | |||
export let labelParams: Record<string, any> = {} | |||
export let kind: 'primary' | 'secondary' | 'no-border' | 'transparent' | 'link' | 'dangerous' = 'secondary' | |||
export let size: 'small' | 'medium' | 'large' | 'x-large' = 'medium' | |||
export let shape: 'circle' | undefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export let shape: 'circle' | undefined | |
export let shape: 'circle' | undefined = undefined |
To prevent warnings for usual use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
Signed-off-by: Anna No <anna.no@xored.com>
export let icon: Asset | AnySvelteComponent | undefined = undefined | ||
export let justify: 'left' | 'center' = 'center' | ||
export let disabled: boolean = false | ||
export let loading: boolean = false | ||
export let width: string | undefined = undefined | ||
export let resetIconSize: boolean = false | ||
export let focus: boolean = false | ||
export let isCircle: boolean = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@annano please also check CircleButton.svelte in @anticrm/ui
Signed-off-by: Anna No <anna.no@xored.com> Signed-off-by: budaeva <irina.budaeva@xored.com>
Signed-off-by: Anna No anna.no@xored.com