Skip to content

Commit

Permalink
updating the website documentation for submit button loading animatio…
Browse files Browse the repository at this point in the history
…n behaviour
  • Loading branch information
OvidijusParsiunas committed Nov 19, 2024
1 parent 99928da commit 4632e86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions website/docs/docs/messages/messages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,7 @@ This object is used to configure names that are displayed beside messages. <br /

- Type: `boolean`

Toggle whether the loading bubble should be displayed when waiting for a message response. If set to _false_ - the [submit button](/docs/styles/#submitButtonStyles)
will automatically have a loading animation.
Toggle whether the loading bubble should be displayed when waiting for a message response.

#### Example

Expand Down
5 changes: 0 additions & 5 deletions website/docs/docs/styles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -424,11 +424,6 @@ You can also set this state manually by calling the [`disableSubmitButton`](/doc
The `loading`, `stop` and `disabled` styles will automatically inherit your `submit` style `default` state values.
:::

:::info
When [displayLoadingBubble](/docs/messages/#displayLoadingBubble) is set to _false_ and the `loading` property's `content` string for `text` or `svg` is not set,
the submit button will have a loading animation.
:::

<LineBreak></LineBreak>

#### SVG Example
Expand Down

0 comments on commit 4632e86

Please sign in to comment.