mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 16:58:00 +08:00
502dac12aa
* docs: fix code * feat: lint * feat: prettier * feat: test * feat: review * feat: format html * feat: format html
13 lines
492 B
TypeScript
13 lines
492 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;
|