mimir-ui-kit 1.27.0 → 1.27.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -61,6 +61,10 @@ export type TProps = TCommonVoteProps & {
|
|
61
61
|
unselected: string;
|
62
62
|
selected: string;
|
63
63
|
};
|
64
|
+
/**
|
65
|
+
* Адаптивный шаг
|
66
|
+
*/
|
67
|
+
resizable?: boolean;
|
64
68
|
/**
|
65
69
|
* Класс для иконки шага
|
66
70
|
*/
|
@@ -126,6 +130,10 @@ export declare const Vote: import('react').ForwardRefExoticComponent<TCommonVote
|
|
126
130
|
unselected: string;
|
127
131
|
selected: string;
|
128
132
|
};
|
133
|
+
/**
|
134
|
+
* Адаптивный шаг
|
135
|
+
*/
|
136
|
+
resizable?: boolean;
|
129
137
|
/**
|
130
138
|
* Класс для иконки шага
|
131
139
|
*/
|
@@ -26,6 +26,7 @@ const Vote = forwardRef((props, ref) => {
|
|
26
26
|
current = ZERO_STEP,
|
27
27
|
size = EVoteSize.M,
|
28
28
|
onClick,
|
29
|
+
resizable,
|
29
30
|
disabled = false,
|
30
31
|
zones = [{ color: "#ff0000", to: quantity }],
|
31
32
|
unselectedColor = "#ffffff",
|
@@ -67,6 +68,7 @@ const Vote = forwardRef((props, ref) => {
|
|
67
68
|
size,
|
68
69
|
current: score2,
|
69
70
|
editable: true,
|
71
|
+
resizable,
|
70
72
|
disabled,
|
71
73
|
onClick: handleStepsClick,
|
72
74
|
zones,
|