MCPcopy Create free account
hub / github.com/codeaashu/claude-code / setFlexDirection

Method setFlexDirection

src/ink/layout/yoga.ts:177–185  ·  view source on GitHub ↗
(dir: LayoutFlexDirection)

Source from the content-addressed store, hash-verified

175 }
176
177 setFlexDirection(dir: LayoutFlexDirection): void {
178 const map: Record<LayoutFlexDirection, FlexDirection> = {
179 row: FlexDirection.Row,
180 'row-reverse': FlexDirection.RowReverse,
181 column: FlexDirection.Column,
182 'column-reverse': FlexDirection.ColumnReverse,
183 }
184 this.yoga.setFlexDirection(map[dir]!)
185 }
186
187 setFlexGrow(value: number): void {
188 this.yoga.setFlexGrow(value)

Callers 1

applyFlexStylesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected