We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b9a4f9 commit 6a0bd2bCopy full SHA for 6a0bd2b
src/Drawer/DrawerHeader.tsx
@@ -1,4 +1,4 @@
1
-import React, { useContext } from 'react';
+import React, { useContext, ReactNode } from 'react';
2
import classNames from 'classnames';
3
4
import { type IconDefinition } from '@fortawesome/fontawesome-svg-core';
@@ -13,7 +13,7 @@ import { ExpandContext } from './Drawer';
13
14
type DrawerHeaderProps = {
15
bordered?: boolean;
16
- title?: string;
+ title?: ReactNode;
17
onRequestClose: (...args: unknown[]) => unknown;
18
};
19
0 commit comments