import React from 'react' import { Link } from 'gatsby' import styled from 'styled-components' import { staticBadgeUrl } from '../../core/badge-urls/make-badge-url' import { advertisedStyles, shieldsLogos } from '../lib/supported-features' // ts-expect-error: because reasons? import StaticBadgeMaker from './static-badge-maker' import DynamicBadgeMaker from './dynamic-badge-maker' import { H2, H3, Badge, VerticalSpace } from './common' import { Snippet, StyledCode } from './snippet' const LogoName = styled.span` white-space: nowrap; ` const Lhs = styled.td` text-align: right; ` const EscapingRuleTable = styled.table` margin: auto; ` const QueryParamTable = styled.table` min-width: 50%; margin: auto; table-layout: fixed; border-spacing: 20px 10px; ` const QueryParamSyntax = styled.td` max-width: 300px; text-align: left; ` const QueryParamDocumentation = styled.td` max-width: 600px; text-align: left; ` function QueryParam({ snippet, documentation, }: { snippet: string documentation: JSX.Element | JSX.Element[] }): JSX.Element { return (
--
}
rhs={
- Dash
}
/>
__
}
rhs={
_ Underscore
}
/>
_ or Space
}
rhs={
Space
}
/>
Using dash "-" separator
Using query string parameters