MCPcopy
hub / github.com/azouaoui-med/react-pro-sidebar / StyledMenuPrefixProps

Interface StyledMenuPrefixProps

src/styles/StyledMenuPrefix.tsx:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import styled, { CSSObject } from '@emotion/styled';
2
3interface StyledMenuPrefixProps {
4 firstLevel?: boolean;
5 collapsed?: boolean;
6 transitionDuration?: number;
7 rtl?: boolean;
8 rootStyles?: CSSObject;
9}
10
11export const StyledMenuPrefix = styled.span<StyledMenuPrefixProps>`
12 ${({ rtl }) => (rtl ? 'margin-left: 5px;' : 'margin-right: 5px;')}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected