(props: T)
| 246 | } |
| 247 | |
| 248 | export function buildProps<T extends ComponentObjectPropsOptions>(props: T) { |
| 249 | const common = { |
| 250 | inherit: booleanProp, |
| 251 | } |
| 252 | |
| 253 | return Object.freeze({ ...common, ...props }) as Expand<VexipProps<typeof common & T>> |
| 254 | } |
| 255 | |
| 256 | export function omitProps<T extends ComponentObjectPropsOptions, K extends keyof T>( |
| 257 | props: T, |