react 18
This commit is contained in:
1 parent
aa2522ba0f
commit
30c496f249
18 files changed
+225
-214
No files matched your search
@@ -8,11 +8,11 @@ import { Block } from "../Block"
|
||||
import { Spacer } from "../Spacer"
|
||||
import { useToggle } from "react-use"
|
||||
|
||||
export interface INavigationProps {
|
||||
export type NavigationProps = {
|
||||
style?: React.CSSProperties
|
||||
}
|
||||
|
||||
export const Navigation: React.FC<INavigationProps> = props => {
|
||||
export const Navigation: React.FC<NavigationProps> = props => {
|
||||
const collapseMenu = useMobile()
|
||||
const [open, toggleOpen] = useToggle(false)
|
||||
const { menu } = useContext(ConfigContext)
|
||||
|
||||
Reference in new issue
Block a user