Skip to content

Commit 89b9dc2

Browse files
author
Remo Daeäppen
committed
fix typo, specify string in component prop
1 parent 9603a6c commit 89b9dc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/styling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ The `rule` slot allows for customizing markup around each rule component.
9090

9191
The slot receives an object with the shape of the [RuleSlotProps
9292
object](https://github.com/rtucek/vue-query-builder/blob/master/types/index.d.ts#L47).
93-
An exact ruel can be identified based on the `ruleCtrl.ruleIdentifier` for dynamic content.
93+
An exact rule can be identified based on the `ruleCtrl.ruleIdentifier` for dynamic content.
9494

9595
You'll have to use Vue's [Dynamic
9696
Component](https://vuejs.org/v2/guide/components.html#Dynamic-Components) feature for displaying the

tests/components/Component.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default class Input extends Vue {
99
1010
@Prop({
1111
default: null,
12-
}) readonly identifier!: any;
12+
}) readonly identifier!: string;
1313
}
1414
</script>
1515

0 commit comments

Comments
 (0)