UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

11 lines (10 loc) 313 B
export var insertAt = function (text, toInsert, start, end) { if (end === void 0) { end = start; } return text.slice(0, start) + toInsert + text.slice(end); }; export var padLeftZeros = function (value, length) { while (value.length < length) { value = "0" + value; } return value; };