@lexibase/rdx-types 1.0.0-beta.2 → 1.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts +12 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -106,18 +106,30 @@ export type RDXConfig = {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/** Public configuration shared by the CLI, runtime, and plugins. */
|
|
109
|
+
export type RdxHomepage = {
|
|
110
|
+
enabled?: boolean
|
|
111
|
+
/** Custom project-owned homepage, e.g. import Home from './home'. */
|
|
112
|
+
component?: ComponentType
|
|
113
|
+
title?: string
|
|
114
|
+
description?: string
|
|
115
|
+
buttons?: { label: string; href: string }[]
|
|
116
|
+
}
|
|
117
|
+
|
|
109
118
|
export type RdxConfig = {
|
|
110
119
|
title: string
|
|
111
120
|
description?: string
|
|
112
121
|
lang?: string
|
|
113
122
|
docsDir?: string
|
|
123
|
+
homepage?: RdxHomepage
|
|
114
124
|
plugins?: RdxPlugin[]
|
|
115
125
|
theme?: {
|
|
116
126
|
defaultTheme?: 'system' | 'dark' | 'light'
|
|
117
127
|
}
|
|
118
128
|
navbar?: {
|
|
119
129
|
title?: string
|
|
130
|
+
logo?: ComponentType<{ className?: string }>
|
|
120
131
|
actions?: {
|
|
132
|
+
showToggleMode?: boolean
|
|
121
133
|
github?: {
|
|
122
134
|
visible: boolean
|
|
123
135
|
url: string
|
package/dist/index.d.ts
CHANGED