Skip to main content

JournalContextType

the-cdj-ui


the-cdj-ui / contexts/JournalContext / JournalContextType

Interface: JournalContextType

Defined in: src/contexts/JournalContext.ts:10

The context type for the Journal.

Type Param

The currently active journal's ID.

Type Param

A function to update the journal ID.

Type Param

The currently active journal's title.

Type Param

A function to update the journal title.

Properties

journalId

journalId: string

Defined in: src/contexts/JournalContext.ts:11


journalTitle

journalTitle: string

Defined in: src/contexts/JournalContext.ts:13


setJournalId()

setJournalId: (id) => void

Defined in: src/contexts/JournalContext.ts:12

Parameters

id

string

Returns

void


setJournalTitle()

setJournalTitle: (title) => void

Defined in: src/contexts/JournalContext.ts:14

Parameters

title

string

Returns

void