Skip to content

Rule no-system-props does not detect Parent.Children component tags #26

Open
@SferaDev

Description

@SferaDev

Example:

             <Header>
                <Header.Item>
                     // Rule does not detect the fontSize
                    <Header.Link href="#" fontSize={2}>
                        // Rule detects the mr
                        <StyledOcticon icon={MarkGithubIcon} size={32} mr={2} />
                        <span>GitHub</span>
                    </Header.Link>
                </Header.Item>
            </Header>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions