Skip to content

Commit

Permalink
bgColorActive -> bgColor
Browse files Browse the repository at this point in the history
  • Loading branch information
williamniemiec committed Aug 11, 2021
1 parent d57d69a commit f16ff6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wniemiec-component-reactnative/month-picker",
"version": "1.0.1",
"version": "2.0.0",
"description": "Month selector.",
"main": "index.js",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions src/MonthPicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ const MONTHS = [
* @param {function(void): void} setSelectedMonth function that changes the
* selected month after a month is selected in the selector
* @param {string} [fgColor='#FFFFFF'] Text color
* @param {string} [bgColorActive='#233287'] Background color
* @param {string} [bgColor='#233287'] Background color
*/
export default function MonthPicker({
selectedMonth,
setSelectedMonth,
fgColor='#FFFFFF',
bgColorActive='#233287'
bgColor='#233287'
}) {
const monthRef = useRef();

Expand Down Expand Up @@ -99,7 +99,7 @@ export default function MonthPicker({
month={month}
onPress={() => handleSelectMonth(index)}
selected={selectedMonth == index}
bgColor={bgColorActive}
bgColor={bgColor}
fgColor={fgColor}
/>
))}
Expand Down

0 comments on commit f16ff6a

Please sign in to comment.