Skip to content

Commit eeef0f0

Browse files
committed
[button] changed types of ButtonLink
1 parent 3b5e267 commit eeef0f0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

semcore/button/src/component/ButtonLink/ButtonLink.type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { NSText } from '@semcore/typography';
66
import type { NSButton } from '../Button/Button.type';
77

88
declare namespace NSButtonLink {
9-
type Props = Intergalactic.InternalTypings.EfficientOmit<NSLink.Props, 'enableVisited'> & {
9+
type Props = Intergalactic.InternalTypings.EfficientOmit<NSLink.Props, 'enableVisited' | 'use' | 'theme'> & {
1010
/**
1111
* Button link type
1212
* @default primary

stories/components/side-panel/docs/examples/advanced_example.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const Demo = (props: NSSidePanel.Props) => {
2121
>
2222
<SidePanel.Header>
2323
<SidePanel.Title ellipsis={false} tag={Flex} alignItems='start'>
24-
<ButtonLink theme='light' size={300} addonLeft={ArrowLeft} mr={2} title='Back to {Step}' />
24+
<ButtonLink use='secondary' size={300} addonLeft={ArrowLeft} mr={2} title='Back to {Step}' />
2525
SidePanel title
2626
</SidePanel.Title>
2727
</SidePanel.Header>

0 commit comments

Comments
 (0)