mirror of https://github.com/hashicorp/consul
ui: Move <Ref /> docs to README.mdx (#7459)
README.mdx file are auto displayed in GH. Also added note on it being renderless, which is useful to know from a CSS standpointpull/7344/head
parent
5e98ef3f51
commit
64b07dcafe
|
@ -8,7 +8,7 @@
|
|||
| `name` | `String` | | The property name |
|
||||
| `value` | `Object` | | The value |
|
||||
|
||||
`<Ref />` allows component users use an author defined public API of a component.
|
||||
`<Ref />` allows component users use an author defined public API of a component. The component is renderless in that it yields nothing to the DOM.
|
||||
|
||||
The component takes a property name and value and sets it on the specified target, similar to the `{{ref this "name"}}` modifier.
|
||||
|
Loading…
Reference in New Issue