ant-design/components/float-button/context.ts
lijianan 6fc4513017
fix: use undefined (#38046)
* fix: use undefined

* fix: use undefined
2022-10-16 11:01:19 +08:00

9 lines
296 B
TypeScript

import React from 'react';
import type { FloatButtonShape } from './interface';
const FloatButtonGroupContext = React.createContext<FloatButtonShape | undefined>(undefined);
export const { Provider: FloatButtonGroupProvider } = FloatButtonGroupContext;
export default FloatButtonGroupContext;