UNPKG

@littlespoon/icons

Version:
32 lines (28 loc) 775 B
/** * Flowtype definitions for css-helpers * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 * @flow */ /** * Returns rotation value for given direction. * Works only if icon initially points down */ declare export function getRotate( direction?: "up" | "left" | "right" | "down" ): number; /** * Returns the scale property based on the size (xsmall, small, medium, large) * Defaults to 1 (small) */ declare export function getScale( size?: "xsmall" | "medium" | "large" | "small" ): number; /** * Returns the size in rems based on the size (xsmall, small, medium, large) * Base size can be passed, default is 4.4 */ declare export function getSvgSize( size?: "xsmall" | "medium" | "large" | "small", baseSize?: number ): string;