React Components
Table of Contents
React Components
ValProvider
Context provider that enables Val functionality throughout your app.
Props:
config: ValConfig
Configuration object from initVal
children: ReactNode
Child components
Example:
Example
ValRichText
Rich text component that displays Val rich text content.
Props:
children: RichText
Val rich text content
theme: ValRichTextTheme
Val rich text theme
Example:
Example
ValImage
A wrapper around the NextJS image component which can be used with Val image content.
Props:
src: Image
Val image content