react-native-floating-action icon indicating copy to clipboard operation
react-native-floating-action copied to clipboard

'buttonSize' does not exist in type 'IActionProps'.ts

Open SteveTro opened this issue 1 year ago • 0 comments

For the interface IActionProps the buttonSize props is missing.

When you try to define an action with the buttonSize (which is working and should be possible regarding the doc) TS shows an error:

Type '{  buttonSize: number  }' is not assignable to type 'IActionProps'.
  Object literal may only specify known properties, and 'buttonSize' does not exist in type 'IActionProps'.ts

I think buttonSize should be included in IActionProps.

SteveTro avatar Apr 12 '23 17:04 SteveTro