mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-07-31 02:50:16 +00:00
- Replaced the hasChildren utility function with isEmpty for better clarity in child element checks. - Updated SCSS styles for the StandardCard buttons to maintain consistent alignment and spacing across breakpoints. - Removed the deprecated hasChildren function from the helpers module to streamline utility functions.
19 lines
436 B
TypeScript
19 lines
436 B
TypeScript
/**
|
|
* Shared utilities and types for the XRPL Dev Portal
|
|
*
|
|
* This module provides common utility functions, types, and helpers
|
|
* used across components and patterns in the shared directory.
|
|
*/
|
|
|
|
// Helper functions
|
|
export {
|
|
isEmpty,
|
|
getTextFromChildren,
|
|
getCardKey,
|
|
isEnvironment,
|
|
} from "./helpers";
|
|
export type { Environment } from "./helpers";
|
|
|
|
// Shared types
|
|
export type { DesignContrainedButtonProps } from "./types";
|