SQL Snippet
UISQLSnippet
Styles
Using this Component
SQL snippets are used to display small or large blocks of SQL code.
Appearance
SQL snippets are formatted in monospace type, and should includes code syntax highlights provided the ACE editor.
Line Break Styles
showNewlines = true
For situations where space is less limited, and it is desirable to see lines of code as they would be appear in a text editor.
showNewlines = undefined (false)
For space-constrained situations to maximize the amount of code shown within a limited area.
Structure
Behavior
SQL snippets by default are non-interactive components.
Truncation
In space-constrained areas, a maximum length can be specified, beyond which the snippet will truncate, with an optional action to expand the truncated content inline.
Playground Coming Soon!
Styles
Using this Component
SQL snippets are used to display small or large blocks of SQL code.
Appearance
SQL snippets are formatted in monospace type, and should includes code syntax highlights provided the ACE editor.
Line Break Styles
showNewlines = true
For situations where space is less limited, and it is desirable to see lines of code as they would be appear in a text editor.
showNewlines = undefined (false)
For space-constrained situations to maximize the amount of code shown within a limited area.
Structure
Behavior
SQL snippets by default are non-interactive components.
Truncation
In space-constrained areas, a maximum length can be specified, beyond which the snippet will truncate, with an optional action to expand the truncated content inline.