useProps
The useProps
function is a React hook that returns the props and values of the corresponding Section.
Usage
Use useProps
hook can be used only in Section components and child components of a Section component.
import { useProps } from "builderoo";
const props = useProps()
Return Values
Name | Type | Description |
---|---|---|
props | Props and values for the corresponding Section |
Learn more about this hook in Sections.