Components
FieldProvider
API Reference

API Reference

Field provider

Parameters

props

  • Type: @vtex/shoreline-components.FieldProviderProps

Props

children (optional)

Children to be rendered within the provider

  • Type: @types/react.React.ReactNode

store

Field store

  • Type: @vtex/shoreline-utils.Store<@vtex/shoreline-components.FieldContextType, { (cb: @vtex/shoreline-components.FieldContextType): @vtex/shoreline-components.FieldContextType; }>

View source (opens in a new tab)