mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
31dba307ed
Change-Id: I8ff49b85dd2151618e48251e0fc38152a50ca381
19 lines
576 B
JavaScript
19 lines
576 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,
|
|
SEARCH_TEMPLATE_PARTIALS
|
|
} from './SearchBox.stories.data';
|
|
|
|
export default {
|
|
title: 'SearchBox'
|
|
};
|
|
|
|
export const legacySimpleSearch = () => `
|
|
${mustache.render( searchBoxTemplate, legacySearchBoxData, SEARCH_TEMPLATE_PARTIALS )}
|
|
`;
|
|
|
|
export const simpleSearch = () => `
|
|
${mustache.render( searchBoxTemplate, searchBoxData, SEARCH_TEMPLATE_PARTIALS )}
|
|
`;
|