flipper-plugin
Version:
Flipper Desktop plugin SDK and components
13 lines • 499 B
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
export type Percentage = string;
export type Width = undefined | number | Percentage;
export declare function isPercentage(width: any): width is Percentage;
export declare function calculatePercentage(parentWidth: number, selfWidth: number): Percentage;
//# sourceMappingURL=widthUtils.d.ts.map