@stackone/malachite 0.7.0 → 0.8.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 +20 -0
- package/dist/index.js +713 -629
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -755,6 +755,24 @@ declare interface StatisticValueProps {
|
|
|
755
755
|
style?: default_2.CSSProperties;
|
|
756
756
|
}
|
|
757
757
|
|
|
758
|
+
export declare const Tag: default_2.FC<TagProps>;
|
|
759
|
+
|
|
760
|
+
export declare interface TagProps {
|
|
761
|
+
value: string | number | default_2.ReactNode;
|
|
762
|
+
type?: TagType;
|
|
763
|
+
bordered?: boolean;
|
|
764
|
+
shadow?: boolean;
|
|
765
|
+
textTransform?: 'none' | 'uppercase';
|
|
766
|
+
width?: WidthSize;
|
|
767
|
+
icon?: default_2.ReactNode;
|
|
768
|
+
iconPosition?: 'left' | 'right';
|
|
769
|
+
pointerType?: 'pointer' | 'default';
|
|
770
|
+
onClick?: () => void;
|
|
771
|
+
className?: string;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
export declare type TagType = 'primary' | 'secondary' | 'default' | 'error' | 'warning' | 'success';
|
|
775
|
+
|
|
758
776
|
declare interface TerminalTextProps {
|
|
759
777
|
bold?: boolean;
|
|
760
778
|
size?: FontSize;
|
|
@@ -841,4 +859,6 @@ export declare const Typography: {
|
|
|
841
859
|
Text: FC<TextProps>;
|
|
842
860
|
};
|
|
843
861
|
|
|
862
|
+
export declare type WidthSize = 'large' | 'medium' | 'small' | 'xsmall';
|
|
863
|
+
|
|
844
864
|
export { }
|