secullum-react-native-ui 4.13.0 → 4.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,7 @@ export interface DropDownProperties {
21
21
  iconComponent?: React.ComponentClass<IconProps>;
22
22
  nativeID?: string;
23
23
  icon?: string | undefined;
24
+ arrowColor?: string | undefined;
24
25
  }
25
26
  export interface DropDownState {
26
27
  modalOpen: boolean;
@@ -142,7 +142,7 @@ class DropDown extends React.Component {
142
142
  };
143
143
  this.getStyles = () => {
144
144
  const theme = (0, theme_1.getTheme)();
145
- const { icon } = this.props;
145
+ const { icon, arrowColor } = this.props;
146
146
  const styles = react_native_1.StyleSheet.create({
147
147
  container: Object.assign({ paddingHorizontal: 16, paddingVertical: 8, borderWidth: 1, borderColor: theme.borderColor1, borderRadius: 3 }, (icon
148
148
  ? {
@@ -172,14 +172,14 @@ class DropDown extends React.Component {
172
172
  fontSize: 16
173
173
  },
174
174
  seta: {
175
- color: theme.textColor1,
175
+ color: arrowColor ? arrowColor : theme.textColor1,
176
176
  fontSize: 16,
177
177
  position: 'absolute',
178
178
  bottom: 10,
179
179
  right: 16
180
180
  },
181
181
  setaIcone: {
182
- color: theme.textColor1,
182
+ color: arrowColor ? arrowColor : theme.textColor1,
183
183
  fontSize: 16,
184
184
  position: 'absolute',
185
185
  bottom: 25,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "secullum-react-native-ui",
3
- "version": "4.13.0",
3
+ "version": "4.14.0",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "files": [