@trackunit/react-form-components 0.0.206 → 0.0.209

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": "@trackunit/react-form-components",
3
- "version": "0.0.206",
3
+ "version": "0.0.209",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -1,4 +1,4 @@
1
- import * as React from "react";
1
+ /// <reference types="react" />
2
2
  export interface TextLengthIndicatorProps {
3
3
  /**
4
4
  * The current length of the content of the input
@@ -16,4 +16,4 @@ export interface TextLengthIndicatorProps {
16
16
  * @param {TextLengthIndicatorProps} props - The props for the TextLengthIndicator component
17
17
  * @returns {JSX.Element} TextLengthIndicator component
18
18
  */
19
- export declare const TextLengthIndicator: React.FC<TextLengthIndicatorProps>;
19
+ export declare const TextLengthIndicator: ({ length, maxLength }: TextLengthIndicatorProps) => JSX.Element;