qw-gallery-scenery/pages/search_syntax.tsx
2020-11-29 12:13:20 +03:00

25 lines
717 B
TypeScript

import React from 'react';
import Container from '@material-ui/core/Container';
import Typography from '@material-ui/core/Typography';
import Box from '@material-ui/core/Box';
import AppBar from '../components/AppBar'
export default function SearchSyntax() {
return (
<div>
<AppBar />
<Container maxWidth="sm">
<Box my={4}>
<Typography variant="h4" component="h1" gutterBottom>
Search syntax
</Typography>
Available operators: && , ||, !, -, ,(comma) <br/>
Examples:<br/>
1) winter&&(rarity||fluttershy)<br/>
2) autumn, -twilight sparkle<br/>
3) winter&&!(forest||tree)
</Box>
</Container>
</div>
);
}