mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
* dbeaver/pro#5394 feat: null and boolean formatter for base grid * feat: reuse base grid formatters * chore: try to adjust workflow concurrency * chore: trigger workflow * chore: trigger workflow cancel * chore: fix label styles --------- Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
20 lines
743 B
TypeScript
20 lines
743 B
TypeScript
import { createContext } from 'react';
|
|
import type { ButtonBase } from './Button/Button.js';
|
|
import type { CheckboxBase } from './Checkbox/Checkbox.js';
|
|
import type { Radio } from './Radio/Radio.js';
|
|
import type { InputBase } from './Input/Input.js';
|
|
import type { RadioGroup } from './Radio/RadioGroup.js';
|
|
import type { Select } from './Select/Select.js';
|
|
import type { SelectField } from './Select/SelectField.js';
|
|
|
|
export interface IComponentProvider {
|
|
Button?: typeof ButtonBase;
|
|
Input?: typeof InputBase;
|
|
Checkbox?: typeof CheckboxBase;
|
|
Radio?: typeof Radio;
|
|
RadioGroup?: typeof RadioGroup;
|
|
Select?: typeof Select;
|
|
SelectField?: typeof SelectField;
|
|
}
|
|
export const ComponentProvider = createContext<IComponentProvider>({});
|