@zendeskgarden/react-chrome
Version:
Components relating to Chrome within the Garden Design System.
17 lines (14 loc) • 403 B
JavaScript
/**
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/
import { createContext, useContext } from 'react';
const SheetContext = createContext({
setIsCloseButtonPresent() {}
});
const useSheetContext = () => {
return useContext(SheetContext);
};
export { SheetContext, useSheetContext };