Download ant-design/components/float-button/context.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/ant-design/components/float-button/context.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/ant-design/components/float-button/context.ts
-
curl -L -o context.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/ant-design/components/float-button/context.ts
297 Bytes
| import React from 'react'; | |
| import type { FloatButtonShape } from './interface'; | |
| const FloatButtonGroupContext = React.createContext<FloatButtonShape | undefined>(undefined); | |
| export const { Provider: FloatButtonGroupProvider } = FloatButtonGroupContext; | |
| export default FloatButtonGroupContext; | |