UNPKG

@workday/canvas-kit-docs

Version:

Documentation components of Canvas Kit components

24 lines 917 B
import React from 'react'; import * as types from '../docgen/docTypes'; export declare function registerWidget<V extends { kind: string; }>(key: V['kind'], widget: React.FC<ValueProps<V>>): void; export interface ValueProps<T extends { kind: string; } = types.Value> { value: T; doc?: types.ExportedSymbol<T>; meta?: any; } export declare const Value: <T extends { kind: string; } = types.Value>(props: ValueProps<T>) => import("react/jsx-runtime").JSX.Element; export declare const PropertiesInline: ({ properties }: { properties: types.ObjectProperty[]; }) => import("react/jsx-runtime").JSX.Element; export declare const PropertiesTable: ({ properties, showDefault, showRequired, }: { properties: types.ObjectProperty[]; showDefault?: boolean | undefined; showRequired?: boolean | undefined; }) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Value.d.ts.map