-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump version 4.0.0-rc.1 (#3423)
- Loading branch information
1 parent
177e550
commit 65851b6
Showing
113 changed files
with
455 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
website/versioned_docs/version-4.0.0-rc.0/components/TabView.mdx
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 36 additions & 0 deletions
36
website/versioned_docs/version-4.0.0-rc.1/components/TabView.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
id: tabview | ||
title: TabView | ||
--- | ||
|
||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
import {} from "react-native-elements"; | ||
import Usage from "../component_usage/TabView.mdx"; | ||
|
||
Tabs organize content across different screens, data sets, and other interactions. | ||
TabView enables swipeable tabs. | ||
|
||
## Usage | ||
|
||
<Usage /> | ||
|
||
## Props | ||
|
||
<div class='table-responsive'> | ||
|
||
| Name | Type | Default | Description | | ||
| ----------------------- | ---------------------- | ---------- | ------------------------------------------------------------------------------------------------ | | ||
| `animationConfig` | AnimationConfig | `{}` | Define the animation configurations. | | ||
| `animationType` | `spring` or `timing` | `spring` | Choose the animation type among `spring` and `timing`. This is visible when there is tab change. | | ||
| `containerStyle` | View Style | | Styling for Component container. | | ||
| `disableSwipe` | Boolean | `false` | Swipe disabled or not | | ||
| `disableTransition` | Boolean | `false` | Disables transition | | ||
| `minSwipeRatio` | number | `0.4` | Minimum distance to swipe before the view changes. | | ||
| `minSwipeSpeed` | number | `1` | Minimum speed to swipe before the view changes. | | ||
| `onChange` | (value: number) => any | `Function` | On Index Change Callback. | | ||
| `onSwipeStart` | (direction) => void | `Function` | Handler when the user swipes the view. | | ||
| `tabItemContainerStyle` | View Style | | Styling for TabView.Item Component container. | | ||
| `value` | number | `0` | Child position index value. | | ||
|
||
</div> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
50 changes: 50 additions & 0 deletions
50
website/versioned_docs/version-4.0.0-rc.1/customization/Color.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import React from 'react'; | ||
|
||
const colors = { | ||
primary: '#2089dc', | ||
secondary: '#ca71eb', | ||
background: '#ffffff', | ||
white: '#ffffff', | ||
black: '#242424', | ||
grey0: '#393e42', | ||
grey1: '#43484d', | ||
grey2: '#5e6977', | ||
grey3: '#86939e', | ||
grey4: '#bdc6cf', | ||
grey5: '#e1e8ee', | ||
greyOutline: '#bbb', | ||
searchBg: '#303337', | ||
success: '#52c41a', | ||
error: '#ff190c', | ||
warning: '#faad14', | ||
disabled: 'hsl(208, 8%, 90%)', | ||
}; | ||
|
||
export const Palette = () => { | ||
return ( | ||
<div | ||
style={{ | ||
display: 'flex', | ||
gap: '20px', | ||
flexWrap: 'wrap', | ||
}} | ||
> | ||
{Object.entries(colors).map(([key, color]) => { | ||
return ( | ||
<div> | ||
<div | ||
style={{ | ||
background: color, | ||
width: '80px', | ||
height: '70px', | ||
display: 'block', | ||
borderRadius: '6px', | ||
}} | ||
></div> | ||
<small>{key}</small> | ||
</div> | ||
); | ||
})} | ||
</div> | ||
); | ||
}; |
Oops, something went wrong.