UNPKG
@stratakit/bricks
Version:
latest (0.5.4)
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
Small, modular components for StrataKit
github.com/iTwin/design-system
iTwin/design-system
@stratakit/bricks
/
dist
/
~utils.useInit.d.ts
9 lines
(8 loc)
•
250 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/** * Internal hook that should be called by all bricks. * Currently, it just validates that bricks are used inside `Root` (from foundations) * and stores the package version in Context. * *
@private
*/
export
declare
function
useInit
(
):
void
;