Skip to content

Update EuiCode TS interface to reflect used/unused props #3612

@thompsongl

Description

@thompsongl

But on changing paddingSize or fontSize no change is observed in EuiCode but the EuiCodeBlock works fine. I tried setting paddingSize in codeSandBox also no change is observed for EuiCode

EuiCode does not really accept paddingSize or fontSize. The props interfaces for EuiCode and EuiCodeBlock should be updated to reflect what props will have functional impact.

Originally posted by @thompsongl in #3529 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions