Documentation / @zerotal/flow-ui / registry / withDependencies
Function: withDependencies()
withDependencies(
names):string[]
Defined in: flow-ui/src/registry.ts:179
Expand a list of component ids to include everything they are built from.
Asking for date-picker and getting a file that imports a Calendar which
was never copied is the failure this prevents. The result keeps the caller's
order and appends dependencies after it, so the CLI reports what was asked for
first and what came along second.
Parameters
names
string[]
Returns
string[]