Press ⇧⌘P
and start typing Sort
You should have 3 options.
- Sort alphabetically
- Sort properties by the length of their name
- Sort properties by the length of the line
This
static propTypes = {
children: PropTypes.node,
className: PropTypes.string,
isCircled: PropTypes.bool,
src: PropTypes.string.isRequired,
isBackgroundImage: PropTypes.bool
tinySrc: PropTypes.string,
};
Will be converted to
static propTypes = {
children: PropTypes.node,
className: PropTypes.string,
isBackgroundImage: PropTypes.bool,
isCircled: PropTypes.bool,
src: PropTypes.string.isRequired,
tinySrc: PropTypes.string
};
This
static propTypes = {
children: PropTypes.node,
className: PropTypes.string,
isCircled: PropTypes.bool,
src: PropTypes.string.isRequired,
isBackgroundImage: PropTypes.bool
tinySrc: PropTypes.string,
};
Will be converted to
static propTypes = {
src: PropTypes.string.isRequired,
tinySrc: PropTypes.string,
children: PropTypes.node,
isCircled: PropTypes.bool,
className: PropTypes.string,
isBackgroundImage: PropTypes.bool
};
This
static propTypes = {
children: PropTypes.node,
className: PropTypes.string,
isCircled: PropTypes.bool,
src: PropTypes.string.isRequired,
isBackgroundImage: PropTypes.bool
tinySrc: PropTypes.string,
};
Will be converted to
static propTypes = {
children: PropTypes.node,
isCircled: PropTypes.bool,
tinySrc: PropTypes.string,
className: PropTypes.string,
src: PropTypes.string.isRequired,
isBackgroundImage: PropTypes.bool
};