callstack / callstack/react-native-paper

List.Accordion border radius

Aperta
#4,365 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
TypeScript
Stelle
14.5k
Fork
2.2k
Merge medio
5g 23h
PR unite (30g)
12

Descrizione

### Ask your Question

Is it possible to have borderRadius on List.Accordion? Currently it has rigid corners and I want them to be rounded.

![Screenshot 2024-04-06 at 16 21 20](https://github.com/callstack/react-native-paper/assets/63498645/d02ab51e-9fa8-4e61-b123-15b97c79728a)

```



selectPostCategoryIcon(props, selectedPostCategory)
}
onPress={(e: GestureResponderEvent) =>
handlePostDropdownPress(selectedPostCategory)
}
expanded={postDropdownExpanded}
titleStyle={{ fontSize: 22 }}
style={{ borderRadius: 100 }}
>

{postCategories.map((item, index) =>
item !== selectedPostCategory ? (

handlePostDropdownPress(item)
}
titleStyle={{ fontSize: 16 }}
left={(props) => selectPostCategoryIcon(props, item)}
style={{ backgroundColor: "white" }}
/>
) : undefined
)}


```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reviewing the List.Accordion entry point and how its existing style prop is applied. Verify the reported rigid corners, then make borderRadius work for the accordion and confirm the rounded appearance in the relevant component behavior or visual tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react-native, typescript
Ambito
design, frontend, mobile
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.