tinywidgets 1.2.1 → 1.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinywidgets",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "author": "jamesgpearce",
5
5
  "repository": "github:tinyplex/tinywidgets",
6
6
  "license": "MIT",
@@ -167,7 +167,7 @@ export const Button = ({
167
167
  * An extra CSS class name for the component.
168
168
  */
169
169
  readonly className?: string;
170
- ref?: React.RefObject<HTMLButtonElement>;
170
+ ref?: React.RefObject<HTMLButtonElement | null>;
171
171
  }) => {
172
172
  const hrefClick = useCallback(
173
173
  () => (href ? open(href, '_blank', 'noreferrer') : null),