Skip to content

Commit e5fe9a9

Browse files
committed
build: update API generator
1 parent 7b4003d commit e5fe9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/build/templates/props.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const tmpl = (props) => {
2424
t += renderTags(prop.tags)
2525
const n = prop.type?.name ?? ''
2626
const v = prop.values?.map(pv => `\`${pv}\``).join(', ') ?? '-'
27-
const d = prop.defaultValue?.value ?? ''
27+
const d = prop.defaultValue?.value ?? '-'
2828
const since = prop.tags && prop.tags.since ? `<br><div class="badge bg-primary">${prop.tags.since[0].description}+</div>` : ''
2929

3030
if (prop.description && !prop.description.includes('@ignore')) {

0 commit comments

Comments
 (0)