You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⭐️ Highly customizable - Responsive UI - RTL Support - Dark/Light mode support ⭐️
13
13
</div>
14
14
15
15
<br />
@@ -36,6 +36,13 @@
36
36
37
37
React native fast base UI kit will help you to develop your apps faster with optimized and tested components.
38
38
39
+
Quick preview for RTL/LTR (English and Persian languages) and light/dark mode, featuring a fake tweet from Elon Musk about Fast Base! <ahref="/example/src/TweetApp">Source here</a>
Flexible and customizable components to implement your layouts as default will not add unnecessary style to the styles and unused styles will be removed. The component was extended from <ahref="https://reactnative.dev/docs/view">React Native View</a> component so you are able to use all of the View component properties too.
225
233
234
+
### <i>dir</i>
235
+
236
+
Type: `"ltr" | "rtl"`
237
+
238
+
Default: `ltr`
239
+
240
+
To set the current component layout direction locally, it has a higher priority against the global direction. Additionally, when using **_dir_** locally in the Wrapper, its children will inherit the direction and won't need to specify **_dir_** themselves.
@@ -296,6 +312,14 @@ Would you like to learn more about `Wrapper` usage, <a href="/example/src/Wrappe
296
312
297
313
The Container component was implemented by `SafeAreaView` in `react-native-safe-area-context` to create a full-screen layout to put other components on a screen inside it, so you are able to use all properties of the component. In additional:
298
314
315
+
### <i>dir</i>
316
+
317
+
Type: `"ltr" | "rtl"`
318
+
319
+
Default: `ltr`
320
+
321
+
To set the current component layout direction locally, it has a higher priority against the global direction. Additionally, when using **_dir_** locally in the Container, its children will inherit the direction and won't need to specify **_dir_** themselves.
322
+
299
323
### <i>background</i>
300
324
301
325
Type: `AllColorsType | string`
@@ -325,6 +349,14 @@ Would you like to learn more about `Container` usage, <a href="/example/src/Cont
325
349
326
350
Text component extended from <ahref="https://reactnative.dev/docs/text">React Native Text</a> so you capable of to use all the component props in the Text component, in additional:
327
351
352
+
### <i>dir</i>
353
+
354
+
Type: `"ltr" | "rtl"`
355
+
356
+
Default: `ltr`
357
+
358
+
To set the current component layout direction locally, it has a higher priority against the global direction.
@@ -380,6 +412,14 @@ Would you like to learn more about `Text` usage, <a href="/example/src/TextGapEx
380
412
381
413
The Button component was extended from <ahref="https://reactnative.dev/docs/pressable">React Native Pressable</a> component so you are able to use all of the component properties and also it helps you create attractive customizable opacity and pressable buttons with title or custom children.
382
414
415
+
### <i>dir</i>
416
+
417
+
Type: `"ltr" | "rtl"`
418
+
419
+
Default: `ltr`
420
+
421
+
To set the current component layout direction locally, it has a higher priority against the global direction. Additionally, when using **_dir_** locally in the Button and it has children, the children will inherit the direction and won't need to specify **_dir_** themselves.
422
+
383
423
### <i>children</i>
384
424
385
425
Type: `string | ReactNode`
@@ -517,6 +557,14 @@ Another component that is commonly used in applications is text input. The Input
517
557
518
558
### Common Props
519
559
560
+
### <i>dir</i>
561
+
562
+
Type: `"ltr" | "rtl"`
563
+
564
+
Default: `ltr`
565
+
566
+
To set the current component layout direction locally, it has a higher priority against the global direction.
567
+
520
568
### <i>disabled</i>
521
569
522
570
Type: `boolean`
@@ -720,6 +768,14 @@ Would you like to learn more about `Input` usage, <a href="/example/src/InputExa
720
768
721
769
One of the other components used in almost all applications is Image, This component is extended from <ahref="https://reactnative.dev/docs/image">React Native Image</a> component so you are able to use all of the component properties. In additional:
722
770
771
+
### <i>dir</i>
772
+
773
+
Type: `"ltr" | "rtl"`
774
+
775
+
Default: `ltr`
776
+
777
+
To set the current component layout direction locally, it has a higher priority against the global direction.
778
+
723
779
### <i>size</i>
724
780
725
781
Type: `xs | sm | md | lg | xl | 2xl`
@@ -775,6 +831,14 @@ Would you like to learn more about `Image` usage, <a href="/example/src/ImageExa
775
831
776
832
This component will help you make `vertical` or `horizontal` space between your elements as `padding` or `border`.
777
833
834
+
### <i>dir</i>
835
+
836
+
Type: `"ltr" | "rtl"`
837
+
838
+
Default: `ltr`
839
+
840
+
To set the current component layout direction locally, it has a higher priority against the global direction.
841
+
778
842
### <i>direction</i>
779
843
780
844
Type: `vertical | horizontal`
@@ -860,6 +924,14 @@ Would you like to learn more about `Gap` usage, <a href="/example/src/TextGapExa
860
924
861
925
This component will help when you want to show a progress bar such as download/upload or loading indicator with progress or whatever you want.
862
926
927
+
### <i>dir</i>
928
+
929
+
Type: `"ltr" | "rtl"`
930
+
931
+
Default: `ltr`
932
+
933
+
To set the current component layout direction locally, it has a higher priority against the global direction.
934
+
863
935
### <i>value</i>
864
936
865
937
Type: `number`
@@ -902,12 +974,6 @@ Default: `true`
902
974
903
975
To specify the component animations use native driver or JS bridge
904
976
905
-
### <i>isRTL</i>
906
-
907
-
Type: `boolean`
908
-
909
-
To fill progress bar right to left
910
-
911
977
Would you like to learn more about `ProgressBar` usage, <ahref="/example/src/ProgressExample/index.tsx">see the example</a>
0 commit comments