s/IconMiniArrowRight/IconMiniArrowEnd/
…to fix deprecation warnings Change-Id: I6ae682fdaa4db144c0065212caabc2ad68ed041a Reviewed-on: https://gerrit.instructure.com/163516 Tested-by: Jenkins Product-Review: Ryan Shaw <ryan@instructure.com> QA-Review: Ryan Shaw <ryan@instructure.com> Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
This commit is contained in:
parent
d1d387fdad
commit
74ff8eb38b
|
@ -20,7 +20,7 @@ import React from 'react'
|
|||
import PropTypes from 'prop-types'
|
||||
import I18n from 'i18n!appointment_groups'
|
||||
import Button from '@instructure/ui-buttons/lib/components/Button'
|
||||
import IconMiniArrowRight from '@instructure/ui-icons/lib/Solid/IconMiniArrowRight'
|
||||
import IconMiniArrowEnd from '@instructure/ui-icons/lib/Solid/IconMiniArrowEnd'
|
||||
import IconMiniArrowDown from '@instructure/ui-icons/lib/Solid/IconMiniArrowDown'
|
||||
import Grid, { GridCol, GridRow } from '@instructure/ui-layout/lib/components/Grid'
|
||||
|
||||
|
@ -242,7 +242,7 @@ import Grid, { GridCol, GridRow } from '@instructure/ui-layout/lib/components/Gr
|
|||
<div key={context.asset_string} className="CourseListItem">
|
||||
<div className="CourseListItem-horizontal">
|
||||
<Button onClick={() => this.toggleCourseExpanded(context)} variant="icon">
|
||||
{expanded ? <IconMiniArrowDown /> : <IconMiniArrowRight /> }
|
||||
{expanded ? <IconMiniArrowDown /> : <IconMiniArrowEnd /> }
|
||||
</Button>
|
||||
<span className="screenreader-only">{context.name}</span>
|
||||
<input
|
||||
|
|
|
@ -24,7 +24,7 @@ import Loading from "../Loading";
|
|||
import { css } from "aphrodite";
|
||||
import styles from "./styles";
|
||||
import IconMiniArrowDownLine from "@instructure/ui-icons/lib/Line/IconMiniArrowDown";
|
||||
import IconMiniArrowRightLine from "@instructure/ui-icons/lib/Line/IconMiniArrowRight";
|
||||
import IconMiniArrowEndLine from "@instructure/ui-icons/lib/Line/IconMiniArrowEnd";
|
||||
import IconFolderLine from "@instructure/ui-icons/lib/Line/IconFolder";
|
||||
|
||||
export default class Folder extends Component {
|
||||
|
@ -49,7 +49,7 @@ export default class Folder extends Component {
|
|||
|
||||
toggleIcon() {
|
||||
const { expanded } = this.props.folder;
|
||||
return expanded ? <IconMiniArrowDownLine /> : <IconMiniArrowRightLine />;
|
||||
return expanded ? <IconMiniArrowDownLine /> : <IconMiniArrowEndLine />;
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in New Issue