ant-design/components/descriptions/DescriptionsContext.ts
Zack Chang 875a221c62
refactor: solve circular reference of Description (#42812)
* refactor: solve circular reference of Description

* refactor: solve circular reference of Table

* Revert "refactor: solve circular reference of Table"

This reverts commit 7664b01645.

* chore: add export
2023-06-25 12:10:31 +08:00

11 lines
265 B
TypeScript

import React from 'react';
export interface DescriptionsContextProps {
labelStyle?: React.CSSProperties;
contentStyle?: React.CSSProperties;
}
const DescriptionsContext = React.createContext<DescriptionsContextProps>({});
export default DescriptionsContext;