Content · Components
ContentGovernanceTool
No summary has been written for ContentGovernanceTool. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.Public export
typescript
import { ContentGovernanceTool } from '@happyvertical/smrt-content/svelte';- Import path
@happyvertical/smrt-content/svelte- Props
- 5
- Props described
- 5 of 5
- Bindable state
- 0
- Callback events
- 2
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
sectionContentGovernanceToolSectionYesThe governance tool section to display (claimAudit, corrections, versions, or transparency).apiBaseUrlstringNoBase URL for API requests to fetch governance data.contentIdstringYesIdentifier of the content being governed.onGovernanceStateChange(state: ContentGovernanceStateData | null) => voidNoFired when governance state changes (e.g., from transparency tool).onFactAuditChange(state: FactAuditStateData | null) => voidNoFired when fact audit state changes (e.g., from claim audit tool).Bindable state
This component has no bindable public state.
Callback events
onGovernanceStateChange(state: ContentGovernanceStateData | null) => voidonFactAuditChange(state: FactAuditStateData | null) => void