Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Common props strokeWidth is not working as expected #11

@finejuice

Description

@finejuice

Version: 13.14.0-0.1.2

Here is a minimal reproduction, the height of each line(red) seems like only "1" instead of expected "16"

const Grid = () => {
  const d = 'M 12 6 L 351.69232177734375 6 M 12 43.49999237060547 L 351.69232177734375 43.49999237060547 M 12 80.99998474121094 L 351.69232177734375 80.99998474121094 M 12 118.4999771118164 L 351.69232177734375 118.4999771118164 M 12 155.99996948242188 L 351.69232177734375 155.99996948242188'
  return (
    <Path
      d={d}
      stroke='red'
      strokeWidth={16}
    />
  )
}
Snipaste_2024-04-16_17-04-06

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