Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation consistency #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default class Component extends React.Component {
| **marginTop** | <code>union(String &#124; Number)</code> | | *optional*. Margin-top property ("auto" to align self bottom) |
| **marginRight** | <code>union(String &#124; Number)</code> | | *optional*. Margin-right property ("auto" to align self left) |
| **marginBottom** | <code>union(String &#124; Number)</code> | | *optional*. Margin-bottom property ("auto" to align self top) |
| **grow** | <code>union(Boolean &#124; Number)</code> | | *optional*. Property (for parent primary axis) |
| **grow** | <code>union(Boolean &#124; Number)</code> | | *optional*. Flex-grow property |
| **shrink** | <code>union(Boolean &#124; Number)</code> | | *optional*. Flex-shrink property |
| **basis** | <code>union(String &#124; Number)</code> | | *optional*. Flex-basis property |
| **wrap** | <code>Boolean</code> | | *optional*. Wrap content |
Expand Down
2 changes: 1 addition & 1 deletion src/FlexView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type FlexViewProps = {
marginRight?: string | number;
/** margin-bottom property ("auto" to align self top) */
marginBottom?: string | number;
/** grow property (for parent primary axis) */
/** flex-grow property */
grow?: boolean | number;
/** flex-shrink property */
shrink?: boolean | number;
Expand Down