diff --git a/pages/api/form-control.md b/pages/api/form-control.md index 0ce55c83202606..a37adcb0f33fea 100644 --- a/pages/api/form-control.md +++ b/pages/api/form-control.md @@ -24,7 +24,7 @@ This context is used by the following components: | component | ElementType | 'div' | The component used for the root node. Either a string to use a DOM element or a component. | | disabled | boolean | false | If `true`, the label, input and helper text should be displayed in a disabled state. | | error | boolean | false | If `true`, the label should be displayed in an error state. | -| fullWidth | boolean | false | If `true`, the label will take up the full width of its container. | +| fullWidth | boolean | false | If `true`, the component, as well as its children, will take up the full width of its container. | | margin | union: 'none'
 'dense'
 'normal'
| 'none' | If `dense` or `normal`, will adjust vertical spacing of this and contained components. | | required | boolean | false | If `true`, the label will indicate that the input is required. | diff --git a/pages/api/tabs.md b/pages/api/tabs.md index 3125691e93609c..c3aff8161eba50 100644 --- a/pages/api/tabs.md +++ b/pages/api/tabs.md @@ -16,7 +16,7 @@ Notice that this Component is incompatible with server side rendering. | centered | boolean | false | If `true`, the tabs will be centered. This property is intended for large views. | | children | Node | | The content of the component. | | classes | Object | | Useful to extend the style applied to components. | -| fullWidth | boolean | false | If `true`, the tabs will grow to use all the available space. This property is intended for small views. | +| fullWidth | boolean | false | If `true`, the tabs will grow to use all the available space. This property is intended for small views, like on mobile. | | indicatorClassName | string | | The CSS class name of the indicator element. | | indicatorColor | union: 'accent'
 'primary'
 string
| 'accent' | Determines the color of the indicator. | | onChange * | Function | | Callback fired when the value changes.

**Signature:**
`function(event: object, value: number) => void`
*event:* The event source of the callback
*value:* We default to the index of the child | diff --git a/src/Form/FormControl.js b/src/Form/FormControl.js index 432483e7dd1d0c..837ea1348e82fe 100644 --- a/src/Form/FormControl.js +++ b/src/Form/FormControl.js @@ -71,7 +71,8 @@ export type Props = { */ error?: boolean, /** - * If `true`, the label will take up the full width of its container. + * If `true`, the component, as well as its children, + * will take up the full width of its container. */ fullWidth?: boolean, /** diff --git a/src/Tabs/Tabs.js b/src/Tabs/Tabs.js index 58dc22bc64d0ff..6af2979ba11d17 100644 --- a/src/Tabs/Tabs.js +++ b/src/Tabs/Tabs.js @@ -76,7 +76,7 @@ export type Props = { className?: string, /** * If `true`, the tabs will grow to use all the available space. - * This property is intended for small views. + * This property is intended for small views, like on mobile. */ fullWidth?: boolean, /**