mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
1719748a29
* chore: eslint add consistent-type-imports * fix avatar * Update Item.tsx
12 lines
491 B
TypeScript
12 lines
491 B
TypeScript
import * as React from 'react';
|
|
import type { RadioGroupContextProps, RadioOptionTypeContextProps } from './interface';
|
|
|
|
const RadioGroupContext = React.createContext<RadioGroupContextProps | null>(null);
|
|
|
|
export const RadioGroupContextProvider = RadioGroupContext.Provider;
|
|
|
|
export default RadioGroupContext;
|
|
|
|
export const RadioOptionTypeContext = React.createContext<RadioOptionTypeContextProps | null>(null);
|
|
export const RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider;
|