Skip to content

TextProps are extended by ListItem.Content instead of ListItem.Title #3893

Description

@michalvadak

Is there an existing issue for this?

  • I have searched the existing issues

Explain what you did

  1. I've extended theme via this docs and addded custom params to TextProps

Expected behavior

ListItem.Title should extend the TextProps params

Describe the bug

  1. ListItem.Content extends the TextProps params but can't be used
  2. ListItem.Title can't be assigned with the TextProps params because of TypeScript

Steps To Reproduce

1. Install RNE to your RN project
2. Setup theme
3. Extend `TextProps` with custom params

Screenshots

image
image
image

Your Environment

`npx @rneui/envinfo`
  ```

Global Dependencies:

No related dependency found

Local Dependencies:

  • @rneui/base : ^4.0.0-rc.8

  • @rneui/themed : ^4.0.0-rc.8

  • expo : ~50.0.7

  • react : 18.2.0

  • react-native : 0.73.4

  • @types/react : ~18.2.45

    
    

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions