// hook that return individual properties from the metadata
export const useReadMetaData = props => {
    if (!props)
        return;
    const { id, columnSize, properties } = props;
    if (!properties)
        return { id, columnSize };
    const { title = {}, subheader = {}, label = {}, status = {}, button = {}, secondaryButtons = {}, columnDefs = {}, actionsList = {}, x = {}, y = {}, values = [], xfield, yfield, } = properties;
    return {
        id,
        columnSize,
        title,
        subheader,
        label,
        status,
        button,
        secondaryButtons,
        columnDefs,
        actionsList,
        x,
        y,
        values,
        xfield,
        yfield,
    };
};
//# sourceMappingURL=useReadMetaData.js.map