Home
last modified time | relevance | path

Searched refs:isCode (Results 1 – 3 of 3) sorted by relevance

/expo/docs/components/
H A DDocumentationSidebarRightLink.tsx103 isCode?: boolean;
107 const Tooltip = ({ children, isCode, topOffset }: TooltipProps) => {
108 const ContentWrapper = isCode ? MONOSPACE : CALLOUT;
129 const isCode = type === HeadingType.InlineCode;
131 const displayTitle = shortenCode && isCode ? trimCodedTitle(title) : title;
146 const TitleElement = isCode ? MONOSPACE : CALLOUT;
150 {tooltipVisible && isCode && (
151 <Tooltip topOffset={tooltipOffset} isCode={isCode}>
157 onMouseOver={isCode ? onMouseOver : undefined}
158 onMouseOut={isCode ? onMouseOut : undefined}
[all …]
/expo/docs/common/
H A Dsnack.ts24 const isCode = /\.(jsx?|tsx?|json|md)$/i.test(path); constant
25 if (isCode) {
H A DheadingManager.ts122 const type = sidebarType || (this.isCode(title) ? HeadingType.InlineCode : HeadingType.Text);
163 private isCode(title: any): boolean { method in HeadingManager