@parasutcom/fds 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +4 -3
  2. package/dist/index.js +4947 -4939
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -715,12 +715,13 @@ declare interface TaxIdFieldProps {
715
715
 
716
716
  export declare function Textarea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
717
717
 
718
- export declare function TextField({ description, error, name, variant, size, type, ...props }: TextFieldProps): JSX.Element;
718
+ export declare function TextField({ description, error, name, variant, size, type, prefix, ...props }: TextFieldProps): JSX.Element;
719
719
 
720
- export declare interface TextFieldProps extends React_2.ComponentPropsWithoutRef<typeof InputGroupInput> {
720
+ export declare interface TextFieldProps extends Omit<React_2.ComponentPropsWithoutRef<typeof InputGroupInput>, 'prefix'> {
721
721
  name: string;
722
722
  description?: string;
723
- error?: string;
723
+ error?: string | string[];
724
+ prefix?: React_2.ReactNode;
724
725
  }
725
726
 
726
727
  declare const THEMES: {