Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ await resetPinCodeInternalStates()
|**`stylePinCodeHiddenPasswordSizeEmpty`**|Size of the circle representing the hidden password of the PinCode file when empty|`4`|`number`|
|**`stylePinCodeHiddenPasswordSizeFull`**|Size of the circle representing the hidden password of the PinCode file when full|`8`|`number`|
|**`stylePinCodeMainContainer`**|Main container of the PinCode file|`flex: 1, justifyContent: 'center', alignItems: 'center'`|`StyleProp<ViewStyle>`|
|**`stylePinCodeGrid`**|Grid of container of the PinCode file|`justifyContent: 'center', alignItems: 'center',`|`StyleProp<ViewStyle>`|
|**`stylePinCodeRowButtons`**|Row of buttons of the PinCode file|`justifyContent: 'center', alignItems: 'center', width: '100%', height: grid.unit * 5.5`|`StyleProp<ViewStyle>`|
|**`stylePinCodeTextButtonCircle`**|Text of circle button TouchableHighlight of the PinCode file|`fontSize: grid.unit * 2, fontWeight: '200'`|`StyleProp<TextStyle>`|
|**`stylePinCodeTextSubtitle`**|Title of the PinCode file|`fontSize: 20, fontWeight: '200', lineHeight: grid.unit * 2.5`|`StyleProp<TextStyle>`|
Expand Down
1 change: 1 addition & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export declare type IProps = {
stylePinCodeHiddenPasswordSizeEmpty?: number;
stylePinCodeHiddenPasswordSizeFull?: number;
stylePinCodeMainContainer?: StyleProp<ViewStyle>;
stylePinCodeGrid?: StyleProp<ViewStyle>;
stylePinCodeRowButtons?: StyleProp<ViewStyle>;
stylePinCodeTextButtonCircle?: StyleProp<TextStyle>;
stylePinCodeTextSubtitle?: StyleProp<TextStyle>;
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/src/PinCode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export interface IProps {
styleDeleteButtonText?: StyleProp<TextStyle>;
styleEmptyColumn?: StyleProp<ViewStyle>;
stylePinCodeCircle?: StyleProp<ViewStyle>;
styleGridButtons?: StyleProp<ViewStyle>;
styleRowButtons?: StyleProp<ViewStyle>;
styleTextButton?: StyleProp<TextStyle>;
styleTextSubtitle?: StyleProp<TextStyle>;
Expand Down
6 changes: 5 additions & 1 deletion dist/src/PinCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,10 @@ class PinCode extends React.PureComponent {
React.createElement(react_native_1.View, { style: styles.flexCirclePassword }, this.props.passwordComponent
? this.props.passwordComponent()
: this.renderCirclePassword()),
React.createElement(react_native_easy_grid_1.Grid, { style: styles.grid },
React.createElement(react_native_easy_grid_1.Grid, { style: [
styles.grid,
this.props.styleGridButtons
] },
React.createElement(react_native_easy_grid_1.Row, { style: [
styles.row,
this.props.styleRowButtons
Expand Down Expand Up @@ -466,6 +469,7 @@ PinCode.defaultProps = {
styleColorTitleError: colors_1.colors.alert,
styleColorSubtitleError: colors_1.colors.alert,
styleViewTitle: null,
styleGridButtons: null,
styleRowButtons: null,
styleColumnButtons: null,
styleEmptyColumn: null,
Expand Down
1 change: 1 addition & 0 deletions dist/src/PinCodeChoose.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export interface IProps {
styleDeleteButtonText?: StyleProp<TextStyle>;
styleEmptyColumn?: StyleProp<ViewStyle>;
stylePinCodeCircle?: StyleProp<ViewStyle>;
styleGridButtons?: StyleProp<ViewStyle>;
styleRowButtons?: StyleProp<ViewStyle>;
styleTextButton?: StyleProp<TextStyle>;
styleTextSubtitle?: StyleProp<TextStyle>;
Expand Down
4 changes: 2 additions & 2 deletions dist/src/PinCodeChoose.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/PinCodeEnter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export interface IProps {
styleDeleteButtonText?: StyleProp<TextStyle>;
styleEmptyColumn?: StyleProp<ViewStyle>;
stylePinCodeCircle?: StyleProp<ViewStyle>;
styleGridButtons?: StyleProp<ViewStyle>;
styleRowButtons?: StyleProp<ViewStyle>;
styleTextButton?: StyleProp<TextStyle>;
styleTextSubtitle?: StyleProp<TextStyle>;
Expand Down
Loading