UNPKG

523 BJavaScriptView Raw
1/**
2 * Generates placeholder style for each of the browsers supported by office-ui-fabric-react.
3 * @param styles - The style to use.
4 * @returns The placeholder style object for each browser depending on the placeholder directive it uses.
5 */
6export function getPlaceholderStyles(styles) {
7 return {
8 selectors: {
9 '::placeholder': styles,
10 ':-ms-input-placeholder': styles,
11 '::-ms-input-placeholder': styles,
12 },
13 };
14}
15//# sourceMappingURL=getPlaceholderStyles.js.map
\No newline at end of file