Skip to content

Commit

Permalink
fix: eslint updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mpleroux committed Nov 14, 2024
1 parent 987ed3a commit 524a2cb
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions es-design-system/pages/molecules/es-search-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,14 @@
</es-button>

<div class="my-500">
<h2>
EsSearchBar slots
</h2>
<h2>EsSearchBar slots</h2>
<ds-prop-table
:rows="slotTableRows"
:widths="slotTableWidths" />
</div>

<div class="my-500">
<h2>
EsSearchBar props
</h2>
<h2>EsSearchBar props</h2>
<ds-prop-table
:rows="propTableRows"
:widths="propTableWidths" />
Expand All @@ -70,16 +66,8 @@ export default {
docCode: '',
showSearchBar: false,
propTableRows: [
[
'buttonText',
'Search',
'Text to display on the submit button.',
],
[
'placeholder',
'Try "best solar panels"',
'Placeholder text to display in the search input.',
],
['buttonText', 'Search', 'Text to display on the submit button.'],
['placeholder', 'Try "best solar panels"', 'Placeholder text to display in the search input.'],
],
propTableWidths: {
md: ['4', '2', '6'],
Expand All @@ -100,7 +88,7 @@ export default {
},
async created() {
if (this.$prism) {
/* eslint-disable import/no-webpack-loader-syntax, import/no-self-import */
/* eslint-disable import/no-webpack-loader-syntax, import/no-self-import */
const docSource = await import('!raw-loader!./es-search-bar.vue');
const compSource = await import('!raw-loader!@energysage/es-vue-base/src/lib-components/EsSearchBar.vue');
/* eslint-enable import/no-webpack-loader-syntax, import/no-self-import */
Expand Down

0 comments on commit 524a2cb

Please sign in to comment.