Skip to content

PropTypesGenerate doesn't show up #13

@iElsha

Description

@iElsha

Hello,

I'm running the plugin on Windows 10 and IntelliJ IDEA Ultimate 2020.2.

When I do alt + enter in the className / functionName it doesn't show the field "PropTypesGenerate ".

image

Here's the source code:

import React     from "react";
import TextField from "@material-ui/core/TextField";

export default function CustomTextField(props) {
    const {
 value, onChange, error, label, name, helperText
} = props;
    return (
        <TextField
            value={value}
            color="secondary"
            label={label}
            error={error}
            helperText={helperText}
            name={name}
            onChange={(e) => {
                onChange(name, e);
            }}
            fullWidth
        />
    );
}

Do you have any idea if I'm doing something wrong?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions