Functions reference
This guides contains a list of functions exported from Mantine packages that are not documented anywhere else.
clamp
clamp function is exported from @mantine/hooks.
It clamps number within the inclusive lower and upper bounds.
lowerFirst
lowerFirst function is exported from @mantine/hooks.
It converts first character of a string to lower case.
upperFirst
upperFirst function is exported from @mantine/hooks.
It converts first character of a string to upper case.
randomId
randomId function is exported from @mantine/hooks.
It generates random id with mantine- prefix.
range
range function is exported from @mantine/hooks.
It generates array of numbers from start to end (inclusive).
shallowEqual
shallowEqual function is exported from @mantine/hooks.
It performs shallow equal check of two objects.