GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing docs.nativebase.io — Upgrading to 3.4.0 from 3.3.x | NativeBase | Universal Components for React and React Native

Upgrading to 3.4.0 from 3.3.x | NativeBase | Universal Components for React and React Native

NativeBase
3.4.x
🎉 Prompt to React Native UI
→
Search
⌘
K
Hire us
NativeBase
Introduction
Getting Started
Installation
Setup NativeBase Provider
Migration
Upgrading to v3
Upgrading to 3.2.0 from 3.x
Upgrading to 3.4.0 from 3.3.x
Components Migration
ActionSheet
Badge
Button
Card
Checkbox
DatePicker
DeckSwiper
Drawer
FABs
FooterTab
Form
Header
Icon
Layout
Picker
Radio Button
Searchbar
Segment
Spinner
SwipeList
Tabs
Thumbnail
Toast
Typography
Resources
Contribution
Creating a Universal App with NativeBase and Solito
Core Concepts
Utility First
Utility Props Specificity
Design Tokens
Pseudo Props: Overview
Pseudo Props: Dos & Don'ts
Internal Pseudo Props
Responsive
Features
Utility Props
Color mode (Dark Mode)
NativeBase Factory
SafeAreaView Props
Strict Mode
Accessibility
Theme
Default Theme
Customizing Theme
Customizing Fonts
Customizing Components
Making components dark mode compatible
Breakpoints
Using Theme
TypeScript
Layout
AspectRatio
Box
Center
Container
Flex
HStack / Row
Stack
VStack / Column
ZStack
Forms
Button
Pressable
Checkbox
FormControl
IconButton
Input
Link
Radio
Select
Slider
Switch
TextArea
Data Display
Badge
Divider
Feedback
Alert
Progress
Skeleton
Spinner
Toast
Typography
Text
Heading
Overlay
AlertDialog
Menu
Modal
Popover
Tooltip
Disclosure
ActionSheet
Media and Icons
Avatar
Icon
Image
Transition
PresenceTransition
Slide
Stagger
Others
Fab
Hidden
ReactNative Components
ScrollView
View
KeyboardAvoidingView
StatusBar
FlatList
SectionList
Hooks
useDisclose
useBreakpointValue
useClipboard
useMediaQuery
useTheme
useToken
useColorMode
useColorModeValue
useContrastText
useAccessibleColors
Examples
Todo-List
Kitchen Sink
Recipes
Designs
AppBar
Card
Drawer Navigation
Tab View
Swipe List
Forms
Form with Validation
Login/Signup Forms
SearchBar
Layout
App Drawer
Footer
More
Changelog
Testing
FAQ's
More Props
If you are starting a new project, please try gluestack-ui for better performance and new design.
Upgrading to 3.4.0 from 3.3.x
Changelog
The following is the overview of the changelog
Foundation
Added new color tokens for text.
All colors checked with WCAG 3.0’s APCA accessibility.
Updated derived colors for danger, error, success, and tertiary.
Added letter spacing in headings.
Components
Added the following design changes to all components: color change, shadow, padding, and opacity changes. All changes are according to the new formats.
Icon:
Removed xxs from sizes. Use 2xs size instead.
Checkbox & Radio:
Removed interactionBox scaling animation design for hover state.
Badge
Added new warning variant.
Added a variant with icon.
Pseudo Props for Color Modes
Updated theme using _light and _dark props for light mode and dark mode respectively.
Internal props will still have higher specifity, as it will override platform props as well as color mode props.
Theme Decoupling
In 3.4 we have completely decoupled the theme. All the internal design props are now transferred to the theme.
This will allow you to use multiple theme files in your project and toggle between them efficiently.
Extend previous version's theme for backward compatibility
You need to add v33xTheme to your NativeBaseProvider which preserves all the old design that was changed or removed in v3.4.0.
Copy
import { NativeBaseProvider, extendTheme, v33xTheme } from 'native-base';
// ...
const yourCustomTheme = {
// ...
};
<NativeBaseProvider
theme={extendTheme(v33xTheme, yourCustomTheme)}
></NativeBaseProvider>;
Previous
Upgrading to 3.2.0 from 3.x
Next
ActionSheet
Quick Nav
Changelog
Foundation
Components
Icon:
Checkbox & Radio:
Badge
Pseudo Props for Color Modes
Theme Decoupling
Extend previous version's theme for backward compatibility
MadeWithNativeBase
gluestack-ui
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.