Skip to content

Commit

Permalink
feat(sdk,secondary-button): export component
Browse files Browse the repository at this point in the history
  • Loading branch information
heyqbnk committed Oct 1, 2024
1 parent 77afbbf commit 9607445
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ export {
open as openQrScanner,
} from '@/scopes/components/qr-scanner/qr-scanner.js';

export * from '@/scopes/components/secondary-button/exports.js';

export * as settingsButton from '@/scopes/components/settings-button/settings-button.js';
export {
hide as hideSettingsButton,
Expand Down
22 changes: 22 additions & 0 deletions packages/sdk/src/scopes/components/secondary-button/exports.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
export {
isSupported as isSecondaryButtonSupported,
mount as mountSecondaryButton,
onClick as onSecondaryButtonClick,
offClick as offSecondaryButtonClick,
setParams as setSecondaryButtonParams,
unmount as unmountSecondaryButton,
} from './methods.js';
export {
backgroundColor as secondaryButtonBackgroundColor,
hasShineEffect as secondaryButtonHasShineEffect,
isMounted as isSecondaryButtonMounted,
isVisible as isSecondaryButtonVisible,
isLoaderVisible as isSecondaryButtonLoaderVisible,
isEnabled as isSecondaryButtonEnabled,
position as secondaryButtonPosition,
state as secondaryButtonState,
text as secondaryButtonText,
textColor as secondaryButtonTextColor,
} from './signals.js';
export type { State as SecondaryButtonState } from './types.js';
export * as secondaryButton from './exports.variable.js';
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './methods.js';
export * from './signals.js';

0 comments on commit 9607445

Please sign in to comment.