UNPKG

@chief-editor/brick-control

Version:

Control Brick for chief editor

12 lines (11 loc) 411 B
/// <reference types="react" /> import { BranchType, IBranchBrickProps, IBranchDatasource, IBranchValue } from './type'; export declare function BranchBrick(props: IBranchBrickProps): JSX.Element; export interface IBranchHeader { branchType: BranchType; datasource: IBranchDatasource; value: IBranchValue; onChange: (value: IBranchValue) => void; disabled: boolean; readonly: boolean; }