Skip to content

Merging Theme Props #9

@kulkarnisaumitra98

Description

@kulkarnisaumitra98

Perform deep merging of default or variant themeProps with direct props.

eg.

const finalProps = _.merge(
   get(theme, `input.${variant || type || 'default'}`, {}),
   directProps,
)

Following Components need this change:-

  • Picker
  • Input
  • Txt
  • Container

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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