Skip to content

Commit b21463d

Browse files
committed
chore: update
1 parent bc829ff commit b21463d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/json-render-ui/src/components/_unsupported.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ export function formatPropKeys(keys: readonly string[]): string {
1616
*/
1717
export const JsonRenderUnsupported: JrComponent<{ type?: string, keys?: string[] }> = ({ props }) =>
1818
h('div', {
19-
class: 'flex flex-col gap-0.5 rounded border border-base bg-secondary text-xs font-mono px2 py1',
19+
class: 'flex flex-wrap gap-x-2 gap-y-1 gap-0.5 rounded text-center border-2 border-dashed border-orange:50 bg-orange:5 text-xs px2 py1',
2020
role: 'note',
2121
}, [
22-
h('div', { class: 'color-muted' }, 'Unsupported component'),
23-
h('div', { class: 'color-base font-semibold' }, props.type ?? 'unknown'),
24-
h('div', { class: 'color-faint' }, formatPropKeys(props.keys ?? [])),
22+
h('div', { class: 'text-orange' }, 'Unsupported component:'),
23+
h('div', { class: 'font-semibold text-orange font-mono' }, props.type ?? 'unknown'),
24+
h('div', { class: 'color-faint font-mono' }, formatPropKeys(props.keys ?? [])),
2525
])

0 commit comments

Comments
 (0)