@easygov/react-components 0.2.9 → 0.2.10
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/easygov.d.mts +2 -1
- package/dist/easygov.mjs +1 -1
- package/dist/easygov.mjs.map +1 -1
- package/package.json +2 -2
package/dist/easygov.d.mts
CHANGED
|
@@ -334,8 +334,9 @@ interface EasygovHeaderProps {
|
|
|
334
334
|
readonly locale?: Locale;
|
|
335
335
|
readonly onLanguageChange?: (locale: Locale) => void;
|
|
336
336
|
readonly onNavigate?: (path: string) => void;
|
|
337
|
+
readonly onLogout?: () => void;
|
|
337
338
|
}
|
|
338
|
-
declare function EasygovHeader({ locale: localeProp, onLanguageChange, onNavigate, }: EasygovHeaderProps): React__default.JSX.Element;
|
|
339
|
+
declare function EasygovHeader({ locale: localeProp, onLanguageChange, onNavigate, onLogout, }: EasygovHeaderProps): React__default.JSX.Element;
|
|
339
340
|
interface RequireSessionProps {
|
|
340
341
|
readonly children: React__default.ReactNode;
|
|
341
342
|
readonly fallback?: React__default.ReactNode;
|