Commit ee4f77bc authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'mw-replace-fa-chevron-down-in-pikaday' into 'master'

Replace fa-chevron-down icon in pikaday

See merge request gitlab-org/gitlab!48054
parents b42b6632 805ccf27
<script> <script>
import Pikaday from 'pikaday'; import Pikaday from 'pikaday';
import { GlIcon } from '@gitlab/ui';
import { parsePikadayDate, pikadayToString } from '~/lib/utils/datetime_utility'; import { parsePikadayDate, pikadayToString } from '~/lib/utils/datetime_utility';
import { __ } from '~/locale'; import { __ } from '~/locale';
export default { export default {
name: 'DatePicker', name: 'DatePicker',
components: {
GlIcon,
},
props: { props: {
label: { label: {
type: String, type: String,
...@@ -66,7 +70,7 @@ export default { ...@@ -66,7 +70,7 @@ export default {
<div class="dropdown open"> <div class="dropdown open">
<button type="button" class="dropdown-menu-toggle" data-toggle="dropdown" @click="toggled"> <button type="button" class="dropdown-menu-toggle" data-toggle="dropdown" @click="toggled">
<span class="dropdown-toggle-text"> {{ label }} </span> <span class="dropdown-toggle-text"> {{ label }} </span>
<i class="fa fa-chevron-down" aria-hidden="true"> </i> <gl-icon name="chevron-down" class="gl-absolute gl-right-3 gl-top-3 gl-text-gray-500" />
</button> </button>
</div> </div>
</div> </div>
......
---
title: Replace fa-chevron-down icon in pikaday
merge_request: 48054
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment