Skip to content

Commit

Permalink
refactor: rename labelTransform to getLabelTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed Jul 30, 2020
1 parent 73e2174 commit 881d6e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vx-axis/src/axis/AxisRenderer.tsx
Expand Up @@ -6,7 +6,7 @@ import { Text } from '@vx/text';

import { TextProps } from '@vx/text/lib/Text';
import Orientation from '../constants/orientation';
import getLabelTransform from '../utils/labelTransform';
import getLabelTransform from '../utils/getLabelTransform';
import { AxisRendererProps, AxisScale } from '../types';

const defaultTextProps: Partial<TextProps> = {
Expand Down
Expand Up @@ -11,7 +11,7 @@ export interface TransformArgs {
tickLength: number;
}

export default function labelTransform({
export default function getLabelTransform({
labelOffset,
labelProps,
orientation,
Expand Down

0 comments on commit 881d6e2

Please sign in to comment.