UNPKG

joy-query-box

Version:

A React component for building and parsing SQL-like queries

63 lines (62 loc) 1.49 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Joy Query Box Example</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> <style> body { min-height: 100vh; padding: 20px; } .panel { margin-bottom: 2rem; } .card { height: 100%; margin-bottom: 1rem; } .card-body { display: flex; flex-direction: column; } .card-text { flex-grow: 1; margin-bottom: 1rem; } code { background-color: #f8f9fa; padding: 2px 6px; border-radius: 4px; color: #e83e8c; } .input-group { margin-bottom: 1rem; } .input-group-text { background-color: #f8f9fa; } .list-unstyled li { margin-bottom: 0.5rem; } pre.text-monospace { background-color: #f8f9fa; padding: 1rem; border-radius: 4px; } .flex-fill { flex: 1; } .query-box { min-height: 38px; } </style> </head> <body> <div class="container"> <div id="root"></div> </div> <script src="/static/bundle.js"></script> </body> </html>