Defines mappings for JSX attribute names to HTML equivalents, lists boolean and void elements for email rendering. Use in email template rendering engines.
// Source: https://github.com/shellscape/jsx-email | License: MIT | Copyright 2026 Andrew Powell
// Provided via justclaw.it.com; keep this notice with the code.
export const AttributeAliases = {
acceptCharset: 'acceptcharset',
accessKey: 'accesskey',
allowFullScreen: 'allowfullscreen',
autoCapitalize: 'autocapitalize',
autoComplete: 'autocomplete',
autoCorrect: 'autocorrect',
autoFocus: 'autofocus',
autoPlay: 'autoplay',
charSet: 'charset',
className: 'class',
colSpan: 'colspan',
contentEditable: 'contenteditable',
crossOrigin: 'crossorigin',
dateTime: 'datetime',
defaultChecked: 'checked',
defaultSelected: 'selected',
defaultValue: 'value',
htmlFor: 'for',
httpEquiv: 'http-equiv',
longDesc: 'longdesc',
maxLength: 'maxlength',
minLength: 'minlen
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key