Browse Source

Merge pull request #17070 from maximest-pierre/Fix/grammar-message-other

Fix grammar on message documentation
pull/17080/head
偏右 6 years ago
committed by GitHub
parent
commit
73ffe06178
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      components/message/demo/other.md

6
components/message/demo/other.md

@ -17,15 +17,15 @@ Messages of success, error and warning types.
import { message, Button } from 'antd';
const success = () => {
message.success('This is a message of success');
message.success('This is a success message');
};
const error = () => {
message.error('This is a message of error');
message.error('This is an error message');
};
const warning = () => {
message.warning('This is message of warning');
message.warning('This is a warning message');
};
ReactDOM.render(

Loading…
Cancel
Save