/*
Copyright (c) Uber Technologies, Inc.

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
import { FILL } from './constants';
export const getSegmentId = (uid, key) => `segments-${uid}-segment-${key}`;
export const getSegmentPanelId = (uid, key) => `segments-${uid}-segmentpanel-${key}`;
export const isRTL = direction => direction === 'rtl';
export const isIntrinsic = fill => fill === FILL.intrinsic;
export const isFixed = fill => fill === FILL.fixed;