cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

List native props in props table as well

Open siddharthkp opened this issue 7 years ago • 2 comments

Examples:

  • Make it obvious that Button accepts onClick
  • Form accepts onSubmit etc.

siddharthkp avatar Aug 14 '18 11:08 siddharthkp

Should we do this task in all components at once? Or it's more achievable by component? Does it need something more specific to be actionable @siddharthkp ?

landitus avatar Aug 24 '18 13:08 landitus

I imagine this to be a incremental process because it's manually intensive + touches too many files.

We don't want to list everything too, so stating a few common properties from a comprehensive should suffice

Example: input supports 93 attributes

siddharthkp avatar Aug 27 '18 06:08 siddharthkp