MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / inputClass

Function inputClass

core/src/components/alert/alert.tsx:892–899  ·  view source on GitHub ↗
(input: AlertInput)

Source from the content-addressed store, hash-verified

890}
891
892const inputClass = (input: AlertInput): CssClassMap => {
893 return {
894 'alert-input': true,
895 'alert-input-disabled': (input.attributes?.disabled ?? input.disabled) || false,
896 ...getClassMap(input.cssClass),
897 ...getClassMap(input.attributes ? input.attributes.class?.toString() : ''),
898 };
899};
900
901const buttonClass = (button: AlertButton): CssClassMap => {
902 return {

Callers 1

renderInputMethod · 0.85

Calls 1

getClassMapFunction · 0.90

Tested by

no test coverage detected