UNPKG

@wix/design-system

Version:

@wix/design-system

17 lines 601 B
import * as React from 'react'; export type LabelledElementProps = { dataHook?: string; label?: string; value?: string | number; disabled?: boolean; topLabelGray?: boolean; children?: ({ id, onFocus, onBlur, onChange, className, getPlaceholder, }: { id: string; onFocus: () => void; onBlur: () => void; onChange: (event: React.ChangeEvent<HTMLInputElement>) => void; className: string; getPlaceholder: (placeholder?: string) => string | undefined; }) => React.ReactNode; }; //# sourceMappingURL=LabelledElement.types.d.ts.map