grapp-dev / stacks

A set of components for building layouts in React Native. Powered by React Native Unistyles.
https://stacks.grapp.dev
MIT License
982 stars 24 forks source link

Feature proposal: Allow divider to be a component too #30

Closed pke closed 3 years ago

pke commented 3 years ago

For array.map operations inside a Stack it would be nice if the divider could also be a component that is rendered instead of the default line.

mobily commented 3 years ago

@pke 👋 thanks for the suggestion! I have added the divider prop in v1.3.0, it allows adding a custom divider. You can see more in the documentation: https://mobily.github.io/stacks/docs/components/stack