In this case the following props "accessibilityLabel" (which is a react native prop) and "align" (which is a custom prop on my component) get stripped off and have no effect. This means i have no way to define accessible components or manipulate the props in my custom component.
I have a situation where i am returning a custom component in the rules as such:
strong: (node, children, _parent, styles) => ( <CustomComponent style={{backgroundColour: 'red'}} accessibilityLabel="example" align="right"
In this case the following props "accessibilityLabel" (which is a react native prop) and "align" (which is a custom prop on my component) get stripped off and have no effect. This means i have no way to define accessible components or manipulate the props in my custom component.