UNPKG

@uifabric/styling

Version:

Styling helpers for Fluent UI React.

18 lines 646 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Generates placeholder style for each of the browsers supported by office-ui-fabric-react. * @param styles - The style to use. * @returns The placeholder style object for each browser depending on the placeholder directive it uses. */ function getPlaceholderStyles(styles) { return { selectors: { '::placeholder': styles, ':-ms-input-placeholder': styles, '::-ms-input-placeholder': styles, }, }; } exports.getPlaceholderStyles = getPlaceholderStyles; //# sourceMappingURL=getPlaceholderStyles.js.map