Closed kiaking closed 7 months ago
It already has disabled option but it does nothing yet. Let's implement it!
disabled
Apply --c-text-3 color to both label and icon. Like this.
--c-text-3
And also add :tooltip prop as same as <SButton> so that we can display the reason why it is disabled.
:tooltip
<SButton>
interface Props { tooltip?: Tooltip } interface Tooltip { tag?: string text?: MaybeRef<string | null> position?: Position trigger?: 'hover' | 'focus' | 'both' timeout?: number }
It already has
disabled
option but it does nothing yet. Let's implement it!Apply
--c-text-3
color to both label and icon. Like this.And also add
:tooltip
prop as same as<SButton>
so that we can display the reason why it is disabled.