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

Method setAlignItems

src/ink/layout/yoga.ts:209–218  ·  view source on GitHub ↗
(align: LayoutAlign)

Source from the content-addressed store, hash-verified

207 }
208
209 setAlignItems(align: LayoutAlign): void {
210 const map: Record<LayoutAlign, Align> = {
211 auto: Align.Auto,
212 stretch: Align.Stretch,
213 'flex-start': Align.FlexStart,
214 center: Align.Center,
215 'flex-end': Align.FlexEnd,
216 }
217 this.yoga.setAlignItems(map[align]!)
218 }
219
220 setAlignSelf(align: LayoutAlign): void {
221 const map: Record<LayoutAlign, Align> = {

Callers 1

applyFlexStylesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected