UNPKG

@knapsack/app

Version:

Build Design Systems on top of knapsack, by Basalt

18 lines 556 B
import React from 'react'; import './inline-edit.scss'; declare type TextProps = { text: string; isHeading?: boolean; showControls?: boolean; handleSave: (text: string) => void; canEdit: boolean; /** * Whether to prevent text wrapping with overflow ellipsis. */ noWrap?: boolean; }; export declare const InlineEditTextBase: React.FC<TextProps>; declare type ConnectedProps = Omit<TextProps, 'canEdit'>; export declare const InlineEditText: React.FC<ConnectedProps>; export {}; //# sourceMappingURL=inline-edit.d.ts.map