callstack / callstack/react-native-paper

List.Accordion border radius

Abierto
#4,365 2 comentarios 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
TypeScript
Estrellas
14.5k
Forks
2.2k
Merge medio
5 d 23 h
PR fusionados (30 d)
12

Descripción

### 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
)}


```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react-native, typescript
Área
design, frontend, mobile
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.