Skip to content

Change BottomSheet to accept one button or an array of buttons  #17

Description

@SjaakSchilperoort

Would be nice if this component would accept either a button or an array of buttons, so it could be used like:

       <BottomSheet buttons={{ title: i18n.t('Upload all'), onPress: onUpload }} />

instead of currently:

       <BottomSheet
          buttons={[
            {
              title: i18n.t('Upload all'),
              onPress: onUpload,
            },
          ]}
        />

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions