docs: prefer shorter demo

This commit is contained in:
chenjiahan
2021-01-20 21:00:36 +08:00
parent 3787e82ec7
commit cb3219ab66
57 changed files with 95 additions and 315 deletions
+1 -4
View File
@@ -34,10 +34,7 @@ export default {
{ text: 'Option 2' },
{ text: 'Option 3' },
];
const onSelect = (action) => {
Toast(action.text);
};
const onSelect = (action) => Toast(action.text);
return {
actions,