santomegonzalo / react-native-floating-action

Material design action button for React Native
MIT License
489 stars 180 forks source link

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

Open SteveTro opened 1 year ago

SteveTro commented 1 year ago

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.