mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
1efe0a4203
Update/remove config, constants, hooks, templates, styles, logic, tests, stories to check legacy vs modern Vector where applicable instead of the decommissioned user links feature flag. Bug: T288852 Change-Id: I5c5831091a10711838a8a2877c782df4996d4596
17 lines
497 B
JavaScript
17 lines
497 B
JavaScript
import mustache from 'mustache';
|
|
import '../resources/skins.vector.styles/SearchBox.less';
|
|
import '../resources/skins.vector.styles/layouts/screen.less';
|
|
import { searchBoxData, legacySearchBoxData, searchBoxTemplate } from './SearchBox.stories.data';
|
|
|
|
export default {
|
|
title: 'SearchBox'
|
|
};
|
|
|
|
export const legacySimpleSearch = () => `
|
|
${mustache.render( searchBoxTemplate, legacySearchBoxData )}
|
|
`;
|
|
|
|
export const simpleSearch = () => `
|
|
${mustache.render( searchBoxTemplate, searchBoxData )}
|
|
`;
|