MCPcopy Index your code
hub / github.com/react-bootstrap/react-bootstrap / useIsRTL

Function useIsRTL

src/ThemeProvider.tsx:96–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94}
95
96export function useIsRTL() {
97 const { dir } = useContext(ThemeContext);
98 return dir === 'rtl';
99}
100
101function createBootstrapComponent(Component, opts) {
102 if (typeof opts === 'string') opts = { prefix: opts };

Callers 5

Popover.tsxFile · 0.90
Modal.tsxFile · 0.90
Tooltip.tsxFile · 0.90
Dropdown.tsxFile · 0.90
Carousel.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…