Skip to content

Update from original #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 126 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
a0060e4
Picker - remove commented out code related to 'renderNativePicker' de…
Inbal-Tish Apr 23, 2023
1bf9548
Incubator.Dialog - fix RN Modal native calls on RN71 (#2573)
M-i-k-e-l Apr 23, 2023
8055593
CharCounter now working with emojis (16-bit code) (#2570)
adids1221 Apr 27, 2023
07f6077
SortableList - adding important note
Inbal-Tish Apr 27, 2023
da05ccb
fix wheelpicker in android (#2558)
adids1221 May 1, 2023
77c0f6c
Align LogService with console (#2577)
M-i-k-e-l May 2, 2023
8907386
Incubator.Dialog - fix test after RN71 bug fix (#2575)
M-i-k-e-l May 3, 2023
1593489
Replacing 'react-native-text-size' with wix fork (#2542)
Inbal-Tish May 8, 2023
913855e
Enable TS check on demo files and fix all errors (#2585)
ethanshar May 9, 2023
5971018
Revert changes in margin modifiers typings
ethanshar May 10, 2023
ef1ab08
SortableGridList tests (#2586)
lidord-wix May 11, 2023
e16e559
Upgrade reanimated to 2.17 (#2587)
M-i-k-e-l May 11, 2023
2837fdf
HintsScreen - allow configuration (#2590)
M-i-k-e-l May 15, 2023
993ea3c
Move to reanimated 3 (#2593)
M-i-k-e-l May 15, 2023
bdce47e
FloatingPlaceHolder animation fix (#2591)
adids1221 May 15, 2023
e35bfbc
Picker - fix listProps type to be Partial (#2596)
M-i-k-e-l May 16, 2023
74f5ae8
Add setBreakpoints and getPageMargins (#2576)
M-i-k-e-l May 16, 2023
2267c04
Slider - adding 'migrate' prop to allow using Incubator.Silder (#2592)
Inbal-Tish May 16, 2023
8d2c4f2
iOS - change bundle id and set min deployment to iOS 13.0 (#2597)
Inbal-Tish May 17, 2023
93e09db
DateTimePicket - add validate (#2601)
M-i-k-e-l May 18, 2023
8f20bae
Feat/ Support subtitle in Modal.TopBar (#2594)
lidord-wix May 18, 2023
4402fe1
Add contribution link in the our main readme file
ethanshar May 21, 2023
08c9fc8
Incubator.Slider - fix onValueChange throttle (#2598)
Inbal-Tish May 22, 2023
f41adf1
Calendar demo screen - move items load to componentDidMount
Inbal-Tish May 22, 2023
c56e413
Feat/ SortableList - add ItemMargin prop (#2561)
lidord-wix May 23, 2023
c3b931f
DateTimePicker - fix TextField migration related TS errors (#2604)
M-i-k-e-l May 24, 2023
f7a439d
TextField and Switch/ forward id prop (#2608)
AmitShwarts May 30, 2023
f3880c8
Calendar - Day - memoize everything
Inbal-Tish May 31, 2023
645c80a
Fix the Wizard.Step style according to the guidelines (#2609)
adids1221 May 31, 2023
0113728
Release notes script - fix and improve (#2605)
M-i-k-e-l Jun 1, 2023
eeaa042
Small fix
M-i-k-e-l Jun 1, 2023
85866a4
getItemIndex - improve comparison by not using isSameMonth tool
Inbal-Tish Jun 1, 2023
9aa2f62
Merge branch 'master' of github.com:wix/react-native-ui-lib
Inbal-Tish Jun 1, 2023
a1c8fd1
Calendar getItemIndex - revert fix
Inbal-Tish Jun 4, 2023
43bbd33
Calendar - getItemIndex - fix
Inbal-Tish Jun 4, 2023
f157d72
Fix how we handle style in our Svg image component for web (#2612)
ethanshar Jun 7, 2023
5862fa8
GridView and SortableGridView - support tablet and other fixes (#2611)
M-i-k-e-l Jun 8, 2023
fc7711e
Include TouchableOpacityProps in SwitchProps (#2613)
ethanshar Jun 8, 2023
96f714a
Improving date utils (#2610)
Inbal-Tish Jun 8, 2023
5d4edad
Support passing labelProps to TabController item (#2615)
ethanshar Jun 11, 2023
4868364
Incubator.Slider - fix types (#2616)
Inbal-Tish Jun 13, 2023
531cebd
WheelPicker - Android - fix missing values when initialValue is sent …
M-i-k-e-l Jun 13, 2023
1cffa66
Width and height props added to Icon, passed only in case of svg icon…
adids1221 Jun 13, 2023
abf9b87
fix: setNativeProps not supported on web (#2620)
AmitShwarts Jun 15, 2023
97c3fa3
Incubator.TextField - fix context menu not showing in centered and em…
Inbal-Tish Jun 15, 2023
3817566
Comment some code in calendar
ethanshar Jun 15, 2023
9fde541
Infra/ set infra for users recordings (#2437)
lidord-wix Jun 18, 2023
8bf3f41
IncubatorDialog - add topAccessory (#2621)
M-i-k-e-l Jun 19, 2023
7f28cd5
fix recorder typings (#2624)
lidord-wix Jun 19, 2023
35f0f9c
export RecorderProps
lidord-wix Jun 19, 2023
a9b85ef
fix export
lidord-wix Jun 19, 2023
2d16dc7
Picker update items when children is changed (#2599)
adids1221 Jun 20, 2023
c113114
Infra/test kit add props (#2619)
M-i-k-e-l Jun 20, 2023
ba4124d
DateTimePicker - start deprecation of moment props (#2625)
M-i-k-e-l Jun 20, 2023
9ab44a9
feat: add prop onValidateFailed to TextField (#2626)
AmitShwarts Jun 20, 2023
25585c2
Fix prReleaseNotesCommon file type
M-i-k-e-l Jun 21, 2023
45a768e
Fixed TabBar scroll when there is selected index (#2630)
adids1221 Jun 22, 2023
5f0ade6
Incubator.TextField - expose retainValidationSpace (#2631)
M-i-k-e-l Jun 22, 2023
4969b9c
Add "light-date" to demo's dependencies
M-i-k-e-l Jun 22, 2023
388274b
Incubator.Slider - fix gap not equal on both max and min ends (#2634)
Inbal-Tish Jun 25, 2023
00ecaea
SegmentedControl - onChangeIndex should react to changes (#2637)
M-i-k-e-l Jun 27, 2023
9bf2be2
ExpandableOverlay - add migrateDialog (#2635)
M-i-k-e-l Jun 27, 2023
7b3230d
textField centerd style dependes on fieldState.value
adids1221 Jun 28, 2023
50d702e
TextField inputStyle hasValue refactor
adids1221 Jun 28, 2023
47d2ab1
webDemo react-native-gesture-handler version upgrade (#2647)
adids1221 Jun 29, 2023
630cf46
ColorPicker - small fixes (#2650)
M-i-k-e-l Jul 2, 2023
f4473b8
webDemo reanimated version upgrade to 3 (#2649)
adids1221 Jul 4, 2023
e754132
NumberInput - fix design (MaskedInput look) (#2645)
M-i-k-e-l Jul 6, 2023
1bed591
Add Incubator.Slider driver (#2629)
M-i-k-e-l Jul 9, 2023
b5a7902
Feat/color picker add full color to result (#2651)
M-i-k-e-l Jul 11, 2023
ba7fa37
Infra/ remove useCustomTheme leftovers (#2666)
lidord-wix Jul 11, 2023
d2d7e85
feat: [MAW-257] svgImage support tintColor on web (#2667)
OrenZak Jul 11, 2023
2c4e5e7
Picker fix for validateForm (#2661)
M-i-k-e-l Jul 12, 2023
fd15874
NumberInput - fix editable (#2664)
M-i-k-e-l Jul 12, 2023
4b9f11b
Picker example for the webDemo (#2622)
adids1221 Jul 13, 2023
a95c781
testkit - new iteration (#2655)
M-i-k-e-l Jul 16, 2023
6ef2d31
NumberInput - support focus (#2671)
M-i-k-e-l Jul 16, 2023
5376abc
feat/enhance text highlight string (#2663)
israelko Jul 17, 2023
e48a2eb
Scheme - fix color changing (#2607)
lidord-wix Jul 18, 2023
2a2f962
Text - default alignment (#2670)
Inbal-Tish Jul 19, 2023
eb77e3c
ExpandableOverlay - fix dialog props (#2675)
M-i-k-e-l Jul 20, 2023
c9edc4a
Picker migrate Dialog (#2657)
adids1221 Jul 23, 2023
64964aa
fixed the ts error on ExpandableOverlay dialogProps in Picker. (#2677)
adids1221 Jul 23, 2023
a885dfd
declare other global typings (#2678)
ethanshar Jul 24, 2023
3fa396d
fix: Picker label not updating when items prop changes (#2682)
AmitShwarts Jul 27, 2023
5984de2
change margin to padding (#2683)
lidord-wix Aug 1, 2023
67975c7
ScrollBar - fix scrolling inside Dialog on Android (#2695)
lidord-wix Aug 3, 2023
188d21c
Android build - fix kotlin version
M-i-k-e-l Aug 7, 2023
c703841
Performance - remove keys, simplify isSameDay + prettify
M-i-k-e-l Aug 7, 2023
79335fc
Performance - simplify isSameMonth + add some types + prettify
M-i-k-e-l Aug 7, 2023
d6c3d9d
Remove logs from tests
M-i-k-e-l Aug 7, 2023
8160d1a
Week - reducing lodash import
Inbal-Tish Aug 7, 2023
cfb1d91
Removing isToday() tool
Inbal-Tish Aug 7, 2023
f620ab9
fix bg logic
Inbal-Tish Aug 7, 2023
c7ade5f
Performance - isPastDate
M-i-k-e-l Aug 7, 2023
d0eadd3
Performance - isPastDate - revert
M-i-k-e-l Aug 7, 2023
624514f
Header - adding throttle to arrow press
Inbal-Tish Aug 7, 2023
a21ca75
Refactor Day component to not use animated styles (#2698)
ethanshar Aug 7, 2023
3fb3e1a
Calendar - fix extra space at the bottom
Inbal-Tish Aug 7, 2023
1c561d4
Fix initialization of calendar items to not be called more than once
ethanshar Aug 7, 2023
e874a17
Enable Calendar agenda in example screen
ethanshar Aug 7, 2023
2192a17
Fix tests' TS
M-i-k-e-l Aug 7, 2023
61eadcf
Header - fix non-static header title
Inbal-Tish Aug 7, 2023
3285bd4
Merge branches 'master' and 'master' of github.com:wix/react-native-u…
Inbal-Tish Aug 7, 2023
c9eed51
Update calendars mocks
ethanshar Aug 7, 2023
f016531
Agenda - refactor
M-i-k-e-l Aug 7, 2023
f60e9a5
Header - fix initial title
Inbal-Tish Aug 7, 2023
1b97d95
Merge branch 'master' of github.com:wix/react-native-ui-lib
Inbal-Tish Aug 7, 2023
42d6b1a
View - add reanimated props for layout animation (#2694)
M-i-k-e-l Aug 8, 2023
295e12e
No static locale infra (#2684)
M-i-k-e-l Aug 8, 2023
ffefd40
CalendarItem - fix default height
Inbal-Tish Aug 8, 2023
9d48582
Merge branch 'master' of github.com:wix/react-native-ui-lib
Inbal-Tish Aug 8, 2023
6154d7e
Demo - adding RTL screen (#2668)
Inbal-Tish Aug 8, 2023
662ec55
Text - revert Android alignment (#2701)
M-i-k-e-l Aug 8, 2023
108af1c
Revert "No static locale infra (#2684)" (#2702)
M-i-k-e-l Aug 9, 2023
8ed13c8
ColorPicker - allow theme (#2704)
M-i-k-e-l Aug 10, 2023
bb2e3a7
Slider - fix value out of range warning in range slider (#2709)
Inbal-Tish Aug 13, 2023
89ce020
Add key to BadgeProps (#2689)
lidord-wix Aug 13, 2023
07006dd
wheel picker onlayout fix (#2705)
adids1221 Aug 14, 2023
559f9d7
limit picker number of lines (#2712)
liatnetach Aug 15, 2023
087f300
Expose TypographyKeys (#2715)
M-i-k-e-l Aug 17, 2023
7c5e94c
Fix RTL on Android (#2717)
lidord-wix Aug 23, 2023
5ca9e72
Fix picked reanimated typings (#2726)
ethanshar Aug 28, 2023
ece3c23
remove ThemeComponent leftovers (#2719)
lidord-wix Aug 29, 2023
f93e222
Picker modal list testID (#2723)
yuvalsho Aug 29, 2023
f1e5557
fix: [WEB] SvgImage update styles (#2728)
AmitShwarts Aug 30, 2023
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
13 changes: 11 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
## Description
*Enter description to help the reviewer understand what's the change about...*
<!--
Enter description to help the reviewer understand what's the change about...
-->

## Changelog
*Add a quick message for our users about this change (include Component name, relevant props and general purpose of the PR)*
<!--
Add a quick message for our users about this change (include Component name, relevant props and general purpose of the PR)
-->

## Additional info
<!--
If applicable, add additional info such as link to the bug being fixed by this PR etc
-->
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ markdowns/
.babelrc
# typings/
# eslint-rules/
scripts/
scripts/*
!scripts/prReleaseNotesCommon.js
demo-app.component.js
index.android.js
index.ios.js
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,7 @@ class MyScreen extends Component {
}
}
```

## Contributing
See [Contribution Guide](https://github.com/wix/react-native-ui-lib/blob/master/CONTRIBUTING.md)

6 changes: 0 additions & 6 deletions android/app/src/main/java/com/rnuilib/MainApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import com.reactnativenavigation.NavigationApplication;
import com.reactnativenavigation.react.NavigationReactNativeHost;
import com.wix.reactnativeuilib.UiLibPackageList;
import com.swmansion.reanimated.ReanimatedJSIModulePackage;

import java.util.List;

Expand All @@ -23,11 +22,6 @@ protected String getJSMainModuleName() {
return "demo";
}

@Override
protected JSIModulePackage getJSIModulePackage() {
return new ReanimatedJSIModulePackage();
}

@Override
public boolean getUseDeveloperSupport() {
return BuildConfig.DEBUG;
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
minSdkVersion = 21
compileSdkVersion = 33
targetSdkVersion = 33
RNNKotlinVersion = "1.6.0"
RNNKotlinVersion = "1.8.0"
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
}
Expand Down
3 changes: 3 additions & 0 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"release": "node ./scripts/release.js",
"demoRelease": "node ./scripts/demoRelease.js"
},
"dependencies": {
"light-date": "^1.2.0"
},
"devDependencies": {
"react-native-ui-lib": "7.1.0",
"shell-utils": "^1.0.10"
Expand Down
3 changes: 3 additions & 0 deletions demo/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ module.exports = {
get SpacingsScreen() {
return require('./screens/foundationScreens/SpacingsScreen').default;
},
get RTLScreen() {
return require('./screens/foundationScreens/RTLScreen').default;
},
// animationScreens
get CardScannerScreen() {
return require('./screens/componentScreens/CardScannerScreen').default;
Expand Down
3 changes: 0 additions & 3 deletions demo/src/screens/ExampleScreenPresenter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export function renderBooleanOption(title: string,
{title}
</Text>
<Switch
useCustomTheme
key={key}
testID={key}
value={value}
Expand Down Expand Up @@ -84,7 +83,6 @@ export function renderBooleanGroup(title: string, options: string[]) {
<View spread centerH row key={key}>
<Checkbox
marginR-s2
useCustomTheme
key={key}
testID={key}
value={value}
Expand Down Expand Up @@ -125,7 +123,6 @@ export function renderRadioGroup(title: string,
{_.map(options, (value, key) => {
return (
<RadioButton
useCustomTheme
testID={key}
key={key}
marginB-s2
Expand Down
3 changes: 2 additions & 1 deletion demo/src/screens/MenuStructure.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export const navigationData = {
{title: 'Dark Mode', tags: 'dark mode colors', screen: 'unicorn.style.DarkModeScreen'},
{title: 'Shadows (iOS)', tags: 'shadow', screen: 'unicorn.style.ShadowsScreen'},
{title: 'Spacings', tags: 'space margins paddings gutter', screen: 'unicorn.style.SpacingsScreen'},
{title: 'Typography', tags: 'fonts text', screen: 'unicorn.style.TypographyScreen'}
{title: 'Typography', tags: 'fonts text', screen: 'unicorn.style.TypographyScreen'},
{title: 'RTL Support', tags: 'rtl', screen: 'unicorn.style.RTLScreen'}
]
},
// Wrappers: {
Expand Down
2 changes: 1 addition & 1 deletion demo/src/screens/PlaygroundScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {Component} from 'react';
import {View, Text, Card, TextField, Button} from 'react-native-ui-lib'; //eslint-disable-line
import {View, Text, Card, TextField, Button} from 'react-native-ui-lib';

export default class PlaygroundScreen extends Component {
render() {
Expand Down
70 changes: 43 additions & 27 deletions demo/src/screens/__tests__/__snapshots__/AvatarScreen.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -159,7 +159,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -289,7 +289,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
{
"fontFamily": "System",
Expand Down Expand Up @@ -342,7 +342,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -444,7 +444,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
undefined,
Expand Down Expand Up @@ -514,7 +514,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
{
"fontFamily": "System",
Expand Down Expand Up @@ -567,7 +567,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -669,7 +669,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
undefined,
Expand Down Expand Up @@ -797,7 +797,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -1048,7 +1048,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -1299,7 +1299,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -1501,7 +1501,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -1752,7 +1752,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -2047,7 +2047,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -2231,7 +2231,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -2338,7 +2338,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
undefined,
Expand Down Expand Up @@ -2457,7 +2457,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -2564,7 +2564,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
undefined,
Expand Down Expand Up @@ -2683,7 +2683,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -2867,7 +2867,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
{
Expand Down Expand Up @@ -2969,7 +2969,7 @@ exports[`AvatarScreen renders screen 1`] = `
{
"backgroundColor": "transparent",
"color": "#20303C",
"textAlign": "left",
"writingDirection": "ltr",
},
undefined,
undefined,
Expand Down Expand Up @@ -3072,19 +3072,35 @@ exports[`AvatarScreen renders screen 1`] = `
>
<Text
allowFontScaling={false}
fsTagName="unmask"
numberOfLines={1}
style={
[
{
"backgroundColor": "transparent",
"color": "#FFFFFF",
"fontFamily": "System",
"fontSize": 12,
"fontWeight": "700",
"lineHeight": 16,
"color": "#20303C",
"writingDirection": "ltr",
},
false,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
[
{
"backgroundColor": "transparent",
"color": "#FFFFFF",
"fontFamily": "System",
"fontSize": 12,
"fontWeight": "700",
"lineHeight": 16,
},
false,
undefined,
],
]
}
testID="badge"
Expand Down
10 changes: 3 additions & 7 deletions demo/src/screens/componentScreens/ActionBarScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@ import collections from '../../assets/icons/collections.png';
import richText from '../../assets/icons/richText.png';

export default class ActionBarScreen extends Component {
constructor(props) {
super(props);

this.state = {
currentPage: 0
};
}
state = {
currentPage: 0
};

render() {
return (
Expand Down
Loading