androidreact-nativenative-base

Native Base's Action sheet at the top


How to set action sheet at the top (just beneath header)?

enter image description here


Solution

  • Hello you can use the prop size to set the hight of the actionSheet. Maybe this can help!

    example:

    <Actionsheet
      isOpen={isOpen}
      onClose={onClose}
      size="full">
      <Actionsheet.Content>
        <Box w="100%" px={0} />
        {children}
      </Actionsheet.Content>
    </Actionsheet>