Closed drisabelles closed 1 year ago
Criação da barra de busca com a filtragem das parcerias.
Tecnologias: React Native, Expo, Axios, Styled Components
https://user-images.githubusercontent.com/79321198/233813710-0aee4ce6-08c0-4125-ab2f-3ce2b09f008c.mp4
Requisição para listar as parcerias por nome:
async getPartnerships(disabled?: boolean, name?: string) { try { const { data } = name ? await api.get( PARTNERSHIP_ENDPOINTS.LIST + `?disabled=${disabled}` + `&name=${name}`, ) : await api.get(PARTNERSHIP_ENDPOINTS.LIST + `?disabled=${disabled}`); return data; } catch (error) { alertError(error, "Não foi possível carregar a lista de parcerias :("); } }
Documentação
Issue relacionada: #32
Criação da barra de busca com a filtragem das parcerias.
Tecnologias: React Native, Expo, Axios, Styled Components
https://user-images.githubusercontent.com/79321198/233813710-0aee4ce6-08c0-4125-ab2f-3ce2b09f008c.mp4
Requisição para listar as parcerias por nome: