mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
6fc4513017
* fix: use undefined * fix: use undefined
9 lines
296 B
TypeScript
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;
|