NativeBase Versions Save

Mobile-first, accessible components for React Native & Web to build consistent UI across Android, iOS and Web.

3.4.19-rc.0

1 year ago

v3.4.18

1 year ago

Features

  • Introducing a new hook 🪝 useSx that resolves style prop to style object.

Example

const textStyle: StyledProps = {
  color: ['orange.900', 'white', 'black'],
  textAlign: 'center',
  size: '12',
};

export const Example = () => {
  const sx = useSx();
  return (
    <View
      style={[
        sx({
          p: 2,
          bg: ['blue.300', 'violet.400', 'red.400'],
          width: 48,
          height: 48,
        }),
        { justifyContent: 'center', alignItems: 'center' },
      ]}
    >
      <Text style={sx(textStyle)}>New Feat useSx in NativeBase</Text>
    </View>
  );
};

Fixes

  • Link isUnderline prop inside pseudo prop #4dc754e
  • Radio and Checkbox dynamic size change #3801923
  • Radio disabled hover styling #9f94763
  • Focus and press state addition in web Radio #39ded36
  • Removed _unchecked from Radio #7110d01
  • Toast hardware back press conflict #98c1779
  • IconButton isDisabled prop #5549e8e
  • CheckBox extracting accessibilityLabel from nonLayoutProps #8058fcb

v3.5.0-rc.4

1 year ago

v3.4.17

1 year ago

Changes

Exposed React context for a few components like Radio.

v3.5.0-rc.2

1 year ago

v3.4.16

1 year ago

Fix • size prop typing issues Button, Select and other components

v3.4.15

1 year ago

Fixes

v3.4.14

1 year ago

Fixes

v3.4.14-rc.1

1 year ago

v3.4.14-rc.0

1 year ago