Skip to content

Commit babc6d0

Browse files
authored
docs: fix quotes (#1905)
1 parent c30d008 commit babc6d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/varlet-ui/src/snackbar/docs/en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ import { Snackbar } from '@varlet/ui'
141141
</script>
142142

143143
<template>
144-
<var-button type="warning" block @click="Snackbar("Hello, I'm a snackbar")">Basic Usage</var-button>
144+
<var-button type="warning" block @click="Snackbar('Hello, I'm a snackbar')">Basic Usage</var-button>
145145
</template>
146146
```
147147

packages/varlet-ui/src/snackbar/docs/zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ import { Snackbar } from '@varlet/ui'
139139
</script>
140140

141141
<template>
142-
<var-button type="warning" block @click="Snackbar("这是一个消息条!!")">基本使用</var-button>
142+
<var-button type="warning" block @click="Snackbar('这是一个消息条!!')">基本使用</var-button>
143143
</template>
144144
```
145145

0 commit comments

Comments
 (0)