Title: Extract File Component Description: Extracts into its own (camel-case) file React component with destructured props and inline type. Avoid prop drilling, especially using context hooks (including react-query). Body:
export function ${1:ComponentName}({ ${2:prop}, ...props }: { ${2}: ${3:type} }) { return ( $0 ) }
Title: Extract File Component Description: Extracts into its own (camel-case) file React component with destructured props and inline type. Avoid prop drilling, especially using context hooks (including react-query). Body:
export function ${1:ComponentName}({ ${2:prop}, ...props }: { ${2}: ${3:type} }) { return ( $0 ) }