ymy-components 0.0.13 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +2 -0
- package/dist/animations/AnimatedText.d.ts +11 -0
- package/dist/buttons/BannerButton.d.ts +4 -0
- package/dist/buttons/BannerButton.styles.d.ts +4 -0
- package/dist/buttons/BannerButton.types.d.ts +31 -0
- package/dist/buttons/CircleIconButton.d.ts +4 -0
- package/dist/buttons/CircleIconButton.styles.d.ts +1121 -0
- package/dist/buttons/CircleIconButton.types.d.ts +17 -0
- package/dist/index.cjs.js +31 -39
- package/dist/index.d.ts +4 -2
- package/dist/index.es.js +2368 -1956
- package/dist/main.d.ts +1 -0
- package/dist/state/slices/navigationSlice.d.ts +14 -0
- package/dist/state/store.d.ts +9 -0
- package/dist/types/DynamicLanguage.d.ts +6 -0
- package/package.json +4 -4
- package/dist/src/index.d.ts +0 -30
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Props for the CircleIconButton component.
|
|
3
|
+
*/
|
|
4
|
+
export type CircleIconButtonProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Specifies which icon to render.
|
|
7
|
+
* Accepts:
|
|
8
|
+
* - 'person' for the person icon.
|
|
9
|
+
* - 'qr' for the QR code scan icon.
|
|
10
|
+
*/
|
|
11
|
+
iconComponent: 'person' | 'qr';
|
|
12
|
+
/**
|
|
13
|
+
* Optional click handler. If provided, this function will be executed
|
|
14
|
+
* when the button is clicked. If omitted, a default action may be used.
|
|
15
|
+
*/
|
|
16
|
+
onClick?: () => void;
|
|
17
|
+
};
|