Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DirProps

remarks

@since 2.3.0

Hierarchy

  • DirProps

Index

Properties

Properties

children

children: ReactElement<any, string | JSXElementConstructor<any>>

A single ReactElement child. If the Dir has a parent Dir, the child will have the dir prop cloned into this element.

Optional defaultDir

defaultDir: WritingDirection | (() => WritingDirection)

The default writing direction for your app or a subtree. To change the current writing direction, use the useDir hook to get access to the current dir and the toggleDir function.

Generated using TypeDoc