nextcloud-link icon indicating copy to clipboard operation
nextcloud-link copied to clipboard

Add export for helpers

Open Mangatt opened this issue 2 years ago • 1 comments

It would be nice to have exports for helpers mentioned in docs. Right now it's something like that:

import nextCloudHelper from 'nextcloud-link/compiled/helper'
const { createOwnCloudFileDetailProperty } = nextCloudHelper

It would be better to have:

import { createOwnCloudFileDetailProperty } from 'nextcloud-link'

or

import { createOwnCloudFileDetailProperty } from 'nextcloud-link/helpers'

Mangatt avatar Feb 28 '22 04:02 Mangatt