@stackone/malachite 0.22.2 → 0.23.0

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/index.d.ts CHANGED
@@ -292,7 +292,7 @@ export declare interface DropdownProps {
292
292
  formControl?: Control<FieldValues, unknown>;
293
293
  description?: string;
294
294
  required?: boolean;
295
- helperText?: string;
295
+ helperText?: default_2.ReactNode;
296
296
  placeholder?: string;
297
297
  search?: boolean;
298
298
  }
@@ -443,7 +443,19 @@ declare type InputType = 'text' | 'password' | 'number' | 'email' | 'tel' | 'url
443
443
 
444
444
  declare type InputVariant = 'default' | 'ghost';
445
445
 
446
- declare interface LinkProps {
446
+ export declare const Link: default_2.FC<LinkProps>;
447
+
448
+ export declare interface LinkProps {
449
+ href: string;
450
+ target?: '_blank' | '_self' | '_parent' | '_top';
451
+ rel?: string;
452
+ children: default_2.ReactNode;
453
+ className?: string;
454
+ color?: 'default' | 'dimmed';
455
+ size?: FontSize;
456
+ }
457
+
458
+ declare interface LinkProps_2 {
447
459
  href: string;
448
460
  target?: '_blank' | '_self' | '_parent' | '_top';
449
461
  rel?: string;
@@ -1046,7 +1058,7 @@ export declare const Typography: {
1046
1058
  CodeText: FC<CodeTextProps>;
1047
1059
  EllipsisText: FC<EllipsisTextProps>;
1048
1060
  FormSectionTitle: FC<FormSectionTitleProps>;
1049
- LinkText: FC<LinkProps>;
1061
+ LinkText: FC<LinkProps_2>;
1050
1062
  MarkdownBlock: FC<MarkdownProps>;
1051
1063
  PageTitle: FC<PageTitleProps>;
1052
1064
  SecondaryText: FC<SecondaryTextProps>;