fix(fab-button): adding size prop instead of [mini] (#16692)

- Consistency with rest of API
- Auto docs
- Helps react

fixes #16680
This commit is contained in:
Manu MA
2018-12-14 23:16:20 +01:00
committed by GitHub
parent c2ada8445c
commit e8cec60faf
16 changed files with 484 additions and 467 deletions

View File

@ -1359,6 +1359,10 @@ export namespace Components {
*/
'show': boolean;
/**
* The size of the button. Set this to `small` in order to have a mini fab.
*/
'size'?: 'small';
/**
* If `true`, the fab button will be translucent.
*/
'translucent': boolean;
@ -1405,6 +1409,10 @@ export namespace Components {
*/
'show'?: boolean;
/**
* The size of the button. Set this to `small` in order to have a mini fab.
*/
'size'?: 'small';
/**
* If `true`, the fab button will be translucent.
*/
'translucent'?: boolean;