Open joeprivettsmart opened 1 year ago
Hi there, nice work on the package :) We are composing element types like so:
export type TSInput = Partial<Pick<HTMLInputElement, 'disabled' | 'min' | 'max' | 'size' | 'autocomplete'>> & Pick<StandardProperties, 'textAlign'> & { as?: 'input' | 'textarea' | 'div' onKeyDown?: (e: KeyboardEvent<HTMLInputElement>) => void onPaste?: (e: ClipboardEvent<HTMLInputElement>) => void }
I would imagine that every application would be doing the same for standard element attributes. Will this package look to export types for element?
Hi there, nice work on the package :) We are composing element types like so:
I would imagine that every application would be doing the same for standard element attributes. Will this package look to export types for element?