diff --git a/docs/api/components/rows.mdx b/docs/api/components/rows.mdx index 6b568312..29972489 100644 --- a/docs/api/components/rows.mdx +++ b/docs/api/components/rows.mdx @@ -81,27 +81,31 @@ render() ### Default Height ```jsx live -const App = () => { - return ( - - - - - +const styles = StyleSheet.create({ + fluidPlaceholder: { + backgroundColor: 'rgba(255, 0, 255, 0.05)', + borderWidth: StyleSheet.hairlineWidth, + borderColor: 'rgba(255, 0, 255, 0.3)', + }, +}) - - - - +const FluidPlaceholder = () => { + return ( + + ) +} +const App = () => { + return ( + - - + + - + - + ) } diff --git a/docs/docs/changelog.md b/docs/docs/changelog.md index eddbc9d8..c169aa0e 100644 --- a/docs/docs/changelog.md +++ b/docs/docs/changelog.md @@ -5,8 +5,8 @@ title: Changelog ### `v2.1.0` -- ✨ added the `defaultWidth` prop to `Columns`, which allows to set a default column width behavior ([@domeknn](https://github.com/domeknn)) -- ✨ added the `defaultHeight` prop to `Rows`, which allows to set a default row height behavior ([@domeknn](https://github.com/domeknn)) +- ✨ added the [`defaultWidth`](/api/components/columns#default-width) prop to `Columns`, which allows to set a default column width behavior ([@domeknn](https://github.com/domeknn)) +- ✨ added the [`defaultHeight`](/api/components/rows#default-height) prop to `Rows`, which allows to set a default row height behavior ([@domeknn](https://github.com/domeknn)) - 🐛 fixed an issue occured in `react-testing-library` and `react-native-web`, [#35](https://github.com/mobily/stacks/issues/35) - 🐛 minor bug fixes