From afe59348a9510038041b217c7d8805a3d5cea40a Mon Sep 17 00:00:00 2001 From: jzxchiang1 <15524484+jzxchiang1@users.noreply.github.com> Date: Sun, 23 Jan 2022 11:19:33 -0800 Subject: [PATCH] Fix flexShrink default value in Layout Props docs --- docs/layout-props.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/layout-props.md b/docs/layout-props.md index 8e3ad3210ac..3f92f1af490 100644 --- a/docs/layout-props.md +++ b/docs/layout-props.md @@ -389,7 +389,7 @@ When `flex` is -1, the component is normally sized according to `width` and `hei [`flexShrink`](layout-props#flexshrink) describes how to shrink children along the main axis in the case in which the total size of the children overflows the size of the container on the main axis. `flexShrink` is very similar to `flexGrow` and can be thought of in the same way if any overflowing size is considered to be negative remaining space. These two properties also work well together by allowing children to grow and shrink as needed. -`flexShrink` accepts any floating point value >= 0, with 1 being the default value. A container will shrink its children weighted by the children’s `flexShrink` values. +`flexShrink` accepts any floating point value >= 0, with 0 being the default value. A container will shrink its children weighted by the children’s `flexShrink` values. | Type | Required | | ------ | -------- |