Skip to content

Commit 31073ab

Browse files
committed
place deprecated warnings in calendars transform descriptions
1 parent d36e650 commit 31073ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/calendars/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,13 @@ module.exports = {
234234
}
235235
},
236236
transforms: {
237-
description: 'This attribute is deprecated and it may be removed from the API in next major version.',
238237
filter: {
239238
valuecalendar: makeAttrs([
239+
'WARNING: All transforms are deprecated and may be removed from the API in next major version.',
240240
'Sets the calendar system to use for `value`, if it is a date.'
241241
].join(' ')),
242242
targetcalendar: makeAttrs([
243+
'WARNING: All transforms are deprecated and may be removed from the API in next major version.',
243244
'Sets the calendar system to use for `target`, if it is an',
244245
'array of dates. If `target` is a string (eg *x*) we use the',
245246
'corresponding trace attribute (eg `xcalendar`) if it exists,',

0 commit comments

Comments
 (0)