Skip to main content
Version: Next

DirectionProvider API

import { DirectionProvider } from '@editora/ui-react';

Props​

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-direction-provider>​

DirectionProvider renders the ui-direction-provider custom element from @editora/ui-core, which can also be used without React.

Attributes: dir, headless

Events: change