Skip to content

Commit

Permalink
🐛 SORD - rewrite props
Browse files Browse the repository at this point in the history
  • Loading branch information
ulricden committed Jan 30, 2024
1 parent 09065ce commit 9fe8c0e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/numberSelector/NumberSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ export interface Props {
validator: NumberValidator;
initialValue: number | undefined;
value: number | undefined;
onValueChange?: (value: number) => void;
onEndEditing: (value: string | undefined) => void;
minValue: number;
maxValue: number;
style?: ViewStyle;
minusIcon?: IconName;
plusIcon?: IconName;
showSoftInputOnFocus?: boolean;
variant?: 'filled' | 'outlined';
size?: 'm' | 's';
decimal?: boolean;
placeholder?: string;
incrementStep?: number;
decrementStep?: number;
Expand All @@ -28,6 +24,7 @@ export interface Props {
export const RoundValue = (val: number): number => {
return Math.round(val * 10) / 10;
};

export const ComputeCrementedValue = (
value: number,
step: number,
Expand Down

0 comments on commit 9fe8c0e

Please sign in to comment.