ymy-components 0.0.18 → 0.0.20

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.
@@ -0,0 +1,4 @@
1
+ import { ReactElement } from 'react';
2
+ import { BackButtonProps } from './BackButton.types';
3
+ declare const BackButton: ({ size, onClick }: BackButtonProps) => ReactElement;
4
+ export default BackButton;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Props for the CircleIconButton component.
3
+ */
4
+ export type BackButtonProps = {
5
+ size?: string;
6
+ /**
7
+ * Optional click handler. If provided, this function will be executed
8
+ * when the button is clicked. If omitted, a default action may be used.
9
+ */
10
+ onClick?: () => void;
11
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ymy-components",
3
3
  "private": false,
4
- "version": "0.0.18",
4
+ "version": "0.0.20",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.es.js",