Files
starface-outlook-sync-addin/node_modules/@fluentui/style-utilities/lib/styles/getPlaceholderStyles.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

15 lines
570 B
JavaScript

/**
* Generates placeholder style for each of the browsers supported by `@fluentui/react`.
* @param styles - The style to use.
* @returns The placeholder style object for each browser depending on the placeholder directive it uses.
*/
export function getPlaceholderStyles(styles) {
return {
selectors: {
'::placeholder': styles, // Chrome, Safari, Opera, Firefox
':-ms-input-placeholder': styles, // IE 10+
'::-ms-input-placeholder': styles, // Edge
},
};
}
//# sourceMappingURL=getPlaceholderStyles.js.map