5 lines
131 B
JavaScript
5 lines
131 B
JavaScript
|
function Component(props) {
|
||
|
const context = FooContext |> useContext(%);
|
||
|
context.value = props.value;
|
||
|
return context.value;
|
||
|
}
|