You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
491 B
12 lines
491 B
2 years ago
|
import * as React from 'react';
|
||
3 years ago
|
import type { RadioGroupContextProps, RadioOptionTypeContextProps } from './interface';
|
||
5 years ago
|
|
||
|
const RadioGroupContext = React.createContext<RadioGroupContextProps | null>(null);
|
||
|
|
||
|
export const RadioGroupContextProvider = RadioGroupContext.Provider;
|
||
|
|
||
|
export default RadioGroupContext;
|
||
3 years ago
|
|
||
|
export const RadioOptionTypeContext = React.createContext<RadioOptionTypeContextProps | null>(null);
|
||
|
export const RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider;
|