opened a new PR to supabase/ui, idk how to change ...
# off-topic
f
opened a new PR to supabase/ui, idk how to change the
API
section so i didn't change it but i added stuff to the code example area
if you know how to change the
API
section at the bottom, let me know :)

https://i.imgur.com/Qcto6WD.png

this down here,
also, should the new addition be in its own section?

https://i.imgur.com/NtfY8ru.png

like this, but in a section named "size" or something?
s
Link the PR and other people might be more willing to jump in and take a look 🙂
i plan on doing more edits to the supabase ui docs :)
but i'd rather figure out how to do it properly before i move forward
s
Looks like it pulls props for that code block from https://github.com/supabase/supabase-ui-web/blob/master/components/ComponentProps.tsx It might also be pulling from https://github.com/supabase/ui/blob/develop/src/components/Badge/Badge.tsx (though that appears to include the
size
prop already, so no updates needed there from what I can tell)
I could also be way off the mark though haha
f
hhmmm
oh thats cool how it shows a preview

https://i.imgur.com/X9ZJkUC.png

though i'd like to change it here
¯\_(ツ)_/¯
s
Found it (I think) - https://github.com/supabase/supabase-ui-web/blob/master/data/spec.json This specified what properties each component has. Looking at the file, it looks like it might be automatically generated (since there's an
id
and
kind
property, and I'm not sure where those are from)