File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @wniemiec-component-reactnative/month-picker" ,
3
- "version" : " 1 .0.1 " ,
3
+ "version" : " 2 .0.0 " ,
4
4
"description" : " Month selector." ,
5
5
"main" : " index.js" ,
6
6
"repository" : {
Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ const MONTHS = [
38
38
* @param {function(void): void } setSelectedMonth function that changes the
39
39
* selected month after a month is selected in the selector
40
40
* @param {string } [fgColor='#FFFFFF'] Text color
41
- * @param {string } [bgColorActive ='#233287'] Background color
41
+ * @param {string } [bgColor ='#233287'] Background color
42
42
*/
43
43
export default function MonthPicker ( {
44
44
selectedMonth,
45
45
setSelectedMonth,
46
46
fgColor= '#FFFFFF' ,
47
- bgColorActive = '#233287'
47
+ bgColor = '#233287'
48
48
} ) {
49
49
const monthRef = useRef ( ) ;
50
50
@@ -99,7 +99,7 @@ export default function MonthPicker({
99
99
month = { month }
100
100
onPress = { ( ) => handleSelectMonth ( index ) }
101
101
selected = { selectedMonth == index }
102
- bgColor = { bgColorActive }
102
+ bgColor = { bgColor }
103
103
fgColor = { fgColor }
104
104
/>
105
105
) ) }
You can’t perform that action at this time.
0 commit comments