Form Components

input-image-url

Overview

The nylas-image-input component is a UI component that allows users input an image URL and see a preview of the image.

Version1.1.0
Install (React)npm install @nylas/react
Import (React)import { InputImageUrl } from '@nylas/react';

Properties

PropertyAttributeDescriptionTypeDefault
errorMessageerror-messageError message to display when the image URL is invalid.string''
imageUrlimage-urlImagestring''
namenameThe name of the componentstring'input-image-url'

Events

EventDescriptionType
valueChangedThis event is fired when the image URL is changedCustomEvent<{ value: string; name: string; valueChanged?: ((event: CustomEvent<{ value: string; name: string; }>) => void) | undefined; }>

Shadow Parts

PartDescription
"iiu__logo-input-textfield"The image input textfield

Built with StencilJS