riku
2024-08-14 f2a0ea849099f49a3d2a9c7e5c44d033df22468f
miniprogram_npm/tdesign-miniprogram/fab/README.en-US.md
@@ -1,17 +1,28 @@
:: BASE_DOC ::
## API
### Fab Props
name | type | default | description | required
-- | -- | -- | -- | --
button-props | Object | - | \- | N
icon | String | - | \- | N
style | String | right: 16px; bottom: 32px; | \- | N
custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
button-props | Object | - | Typescript:`ButtonProps`,[Button API Documents](./button?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/fab/type.ts) | N
draggable | Boolean / String | false | \- | N
icon | String | - | \- | N
text | String | - | \- | N
using-custom-navbar | Boolean | false | \- | N
### Fab Events
name | params | description
-- | -- | --
click | `(detail: {e: MouseEvent})` | \-
click | `({e: Event})` | \-
### CSS Variables
The component provides the following CSS variables, which can be used to customize styles.
Name | Default Value | Description
-- | -- | --
--td-fab-shadow | @shadow-2 | -