Skip to content

Probe why merging props behave weridly if _.get function is not spread  #12

Description

@kulkarnisaumitra98
const finalProps: typeof themeOverrideProps = merge(
    { ...get(theme, `picker.${props.variant || 'default'}`, {}) },
    themeOverrideProps
  );

Need to spread get function in order for merging to work. Probe this.

Metadata

Metadata

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