You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
453 B
19 lines
453 B
2 months ago
|
import { pick } from 'lodash-unified';
|
||
|
import '../../utils/index.mjs';
|
||
|
import { buildProps } from '../../utils/vue/props/runtime.mjs';
|
||
|
|
||
|
const ariaProps = buildProps({
|
||
|
ariaLabel: String,
|
||
|
ariaOrientation: {
|
||
|
type: String,
|
||
|
values: ["horizontal", "vertical", "undefined"]
|
||
|
},
|
||
|
ariaControls: String
|
||
|
});
|
||
|
const useAriaProps = (arias) => {
|
||
|
return pick(ariaProps, arias);
|
||
|
};
|
||
|
|
||
|
export { ariaProps, useAriaProps };
|
||
|
//# sourceMappingURL=index.mjs.map
|