Skip to content

HOV - 10 | Flex Component | Passing ref and style in Flex props #43

@Shadow-Flash

Description

@Shadow-Flash

Expected Behavior

  • ref should be passed in props as the component is made ForwardRefRenderFunction.
  • style prop is not coming in autocomplete, eg:

Current Behavior

  • You can't pass ref as props
  • You can pass user-defined style it will be overwritten if default is present

Possible Solution

Steps to Reproduce (for bugs)

  1. import Flex
  2. Use Flex and pass ref as well as style props.

Context

Your Environment

  • Version used: nodejs 16.x
  • Browser name and version: Chrome (103.0.5060.134)
  • Operating System and version (desktop or mobile): MacOS (12.4)
  • Link to your project: [HOV-10] Flex component #25 (review)_

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions