Update overview.mdx
This commit is contained in:
@@ -162,7 +162,7 @@ The `condition` function should return a boolean that will control if the field
|
||||
|
||||
If you are building custom components, and you'd like for your custom components to support conditional logic as well, you can utilize Payload's `withCondition` higher-order function by importing it and using it as follows:
|
||||
|
||||
```
|
||||
```js
|
||||
import { withCondition } from 'payload/components/forms';
|
||||
|
||||
const CustomComponent = () => {
|
||||
|
||||
Reference in New Issue
Block a user