[new feature] Field: add arrow-direction prop (#3679)

This commit is contained in:
neverland
2019-06-28 15:33:08 +08:00
committed by GitHub
parent 55f215d08d
commit a6ce44fbb0
9 changed files with 40 additions and 20 deletions
+2 -6
View File
@@ -9,10 +9,7 @@ import { CreateElement, RenderContext } from 'vue/types';
import { ScopedSlot, DefaultSlots } from '../utils/types';
import { Mods } from '../utils/create/bem';
export type CellProps = RouteProps &
SharedCellProps & {
arrowDirection?: string;
};
export type CellProps = RouteProps & SharedCellProps;
export type CellSlots = DefaultSlots & {
icon?: ScopedSlot;
@@ -102,8 +99,7 @@ function Cell(
Cell.props = {
...cellProps,
...routeProps,
arrowDirection: String
...routeProps
};
export default createComponent<CellProps, CellEvents, CellSlots>(Cell);