Skip to content

Latest commit

 

History

History

basic-layout

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Basic Layout

This example shows a basic layout made up of two vertical lists and a horizontal list.

Running the Example

  • Clone this repository
  • Navigate into this directory
  • Run npm install
  • Run npm start

The example will be running at localhost:3000.

Features Demonstrated

  • The orientation prop, specifying whether or not a list is horizontal or vertical
  • The .isFocused and .isFocusedLeaf class names to style the focused nodes
  • The default navigation behavior: the first item in a list will be focused